|
Register or have you forgotten your password?
|
|
|
| Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software. |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Forums Moderator
![]()
Join Date: Feb 2002
Location: San Antonio TEXAS!! USA!!!
Posts: 2,369
|
example...
struct tele2_struct{ fname[30]; lname[30]; whatever[70]; }db[750]; int search_array(struct tele2_struct, char parm_searchvar); then in main() I have something similiar like... found_record = search_array(db, searchvar); I basically want to pass a array which contains various info and what they are searching for which is stored in searchvar.. but I get a error @ found_record which says... conversion from `tele2_struct*' to non-scalar type ` tele2_struct' requested and I'm lookin at examples here and there..but I cannot find one similiar to mine... stumped by something simple which I cannot figure out. |
||||||||
|
|
|
| Bookmarks |
| Tags |
| w or passing , structure , gah , array , function |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C++ - convert string to array of ints | motorollin | CH / Science and Technology | 12 | 09-01-2007 10:27 AM |
| Programmable Array Logic (PAL) | mdivancic | Amiga Hardware Issues and discussion | 0 | 10-12-2005 09:27 AM |
| varargs compatibility probs with PPC Oses./Passing to 2nd function | Jose | Amiga OS -- Development | 17 | 09-19-2005 11:22 AM |
| Finding the address of an array element | Sidewinder | Amiga OS -- Development | 26 | 03-15-2003 09:37 PM |
| Need help with C++ array declarations!!!! | Glaucus | Amiga OS -- Development | 2 | 11-13-2002 12:12 AM |