Hey, this is for spanish speaking people, microsoft has a proyect called desarrollador 5 estrellas(5 stars developer), you subscribe for free and they put in your hands the materials and everything...
Type: Posts; User: cold_dog
Hey, this is for spanish speaking people, microsoft has a proyect called desarrollador 5 estrellas(5 stars developer), you subscribe for free and they put in your hands the materials and everything...
Irrlicht dude...Irrlicht....
Hey there, sorry for bugging with this stupid thread...but I want to inform you that I have finally came up with something kind of nice...thanks to all the people who answered my question, and those...
Thanks for taking your time to respond my questions...the problem is that I haven't found enoguh information about this linked list thing, so I'm kind of experimenting with it blindly :) In the book...
Hey there dude...let's say that I have the list created...the I call displayList(), the while condition says, I think, take this more as a question, than some kind of offense :):
"while the pointer...
try changing your condition to this:
while ( getline (openfile,line) ){
cout << line << endl;
}
Ok, here is my code, I added a function to add a node to the beginning, the middle or the end of the list:
#include <iostream>
using namespace std;
struct node {
int x;
node* next;
};
The code is compact because I'm writing it without knowing exactly what I'm doing...I suppose that I'm just guessing hehehehe :) it's not that I'm pretty sure of what I'm doing..but thanks for the...
Ok thanks...but now I have another problem....
I created a function to add a new element at the beggining of the list...here's the code:
node* addToList( node* firstNode, node* newNode ){
...
Hey..I followed your advice, and I did this function....
void cleanList( node* anyNode ){ //cleans the whole list
node* temp;
if( anyNode != 0 ){ //makes sure that the first...
Dude thanks, Bench82 now I see the problem...thats what I wanted to know...thank you man... thanks to all of you
Thanks guys...I see that you all understand what you are talking about... :) Imma try to improve my list but I don't understand quite well your code...as you can see mine is simpler and my question...
well..ok I will try to write those functions...but...I have no idea of what I just did...my question is about the program running even though I did it wrong...I don't understand quite well about this...
Thanks... I didn't know that...but why does the list display correctly if I created the list incorrectly? I mean...it does what it is supposed to do...but the way I did it is not well...
Hi, this program is the solution to an excercise I found on a book...I wrote it reading tutorials and stuff...my problem is... as you can see in the CreateList function...I have no secondary node...
Thanks to all the people who answered my question, and Im not from the usa...Im from dominican republic
Hi, im new to c programming and I would like some advice.
And Ill like to join a group or something, give me a little help here...cause I ve readed some tutorials and stuff, but the problem is that...