![]() |
|
#31
|
|||
|
|||
Re: Linked Lists advice requestYes there is a companion cpp file... added it to project; pasted it into t' file, SORTED!!! - sorry it took 4 pages!!!
(with #include as "graphics_lib.h") (yes I use XP Pro at home; Win 2000 or summat on campus). (Mentioned on the first post is that I'm using MS Visual Basic C++ 6.0) (The link is to the header file location is on the first thread, but not needed now) Now for the rotation matrix and temporary normalisation of the triangle vertex co-ordinates! |
|||
|
#32
|
|||
|
|||
Re: Linked Lists advice requestHere's where I am:
CPP / C++ / C Code:
Quote:
This is as a result of including a new switch. I think the structures and linked lists are alright, I've been panning through it all for an hour now, and I still don't really understand why the prog wants a semicolon there... I suspect there's some other problem, but I'm too tired to think of much more than bed. Any ideas please anyone? |
|
#33
|
|||
|
|||
Re: Linked Lists advice requestYour post is much more orderly and concise now, much easier for people to understand.
Your code is too! but you sure are writing way ahead of your testing. I attempted compiling and got similar results which I addressed like this: CPP / C++ / C Code:
Do not go any further with the program until you have fixed what you have the way you want it. You're already trying to manipulate a figure when you don't even know if it prints! Get it drawing correctly first then work on ONE (1) ((uno)) manipulation routine at a time until it works the way you want. I might also suggest a little better description and instruction to user, like I'm a dummy at computers, I don't know what to do.... which, the more I learn the more it is true .... |
|
#34
|
|||
|
|||
Re: Linked Lists advice requestAye lad.
I appreciate that I'm trying too rush in too much code, but I wanted to test out this rotation code from a Bengali university site. I'll try and replace the lines with printfs as you say. I know the instruxions are naff, I just want to get the screen sequence up and running, so that there's a couple of printf screens before you get to the actual drawing part. Works a treat at the moment: CPP / C++ / C Code:
|
|
#35
|
|||
|
|||
Re: Linked Lists advice requestwhatever...
Ahem, I know your quite proud of it and all, but why did you repost your experimental code ??? You did'nt even have a question about it. ? c'mon man ! - it's useless page size that dialupers have to wait for, - it's useless junk for us to have to pagedown through, - it's useless use of bandwidth for gidforums. need more? |
|
#36
|
|||
|
|||
Re: Linked Lists advice requestsorry, I think you misinterpreted me, I was asking:
Quote:
Quote:
Do you want me to just post sections that I've changed from above with line numbers instead? Isn't there a risk of it being confusing? Anyway, I'm more interested in implementing a rotation matrix for the triangle. It's quite hard conceptually to translate stratforward maths like this into code I think. So I'm looking at summat like this: CPP / C++ / C Code:
|
|
#37
|
|||
|
|||
Re: Linked Lists advice requestQuote:
Quote:
For example you could have posted this: CPP / C++ / C Code:
- center printf()'s .....no function for that , just pad with spaces, ie: CPP / C++ / C Code:
No time to look at more, gotta go, good luck... |
|
#38
|
|||
|
|||
Re: Linked Lists advice requestused outtextxy
Quote:
what's all this about? I've stuck this in above and below that array CPP / C++ / C Code:
|
|
#39
|
|||
|
|||
Re: Linked Lists advice requestCPP / C++ / C Code:
I solved the other errors by moving the array above the outtestxy menus; and I'm getting this error again: Quote:
CPP / C++ / C Code:
|
|
#40
|
|||
|
|||
Re: Linked Lists advice requestgot it.. I commented out the last bit of the main() function by accident
CPP / C++ / C Code:
Quote:
|
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| triangle (polygon), drawing, sizing, and rotation programme using linked lists... | promsan | C Programming Language | 12 | 14-May-2007 15:03 |
| Doubly linked lists in C++ | sweeeeeeetlipss | C++ Forum | 1 | 24-Oct-2006 00:27 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 14:12 |
| help on linked lists any1????? | nick4 | C Programming Language | 1 | 17-May-2004 10:32 |
| linked lists, newbie needs help | moltarim | C Programming Language | 4 | 06-May-2004 12:32 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The