Click here to Skip to main content
15,887,776 members

Comments by Jamie Engel (Top 7 by date)

Jamie Engel 26-Feb-23 15:36pm View    
It still won't print anything, at this point i am doubting both by C skills and my compiler xD
Jamie Engel 26-Feb-23 14:44pm View    
how do i initialize it? Do i use "new"?
Jamie Engel 26-Feb-23 14:04pm View    
I improved the question with the code :)
Jamie Engel 26-Feb-23 13:12pm View    
It still doesn't work like i want it too. If i have a int b = 64 in classTwo and i do "classOne cls; printf("%d", cls.two->b);" it compiles but when i run it it doesn't print anything.
Jamie Engel 26-Feb-23 12:39pm View    
yes it was a typo, it wasn't meant to be infinitely recursive haha. I don't know how to delete my question though, seems kind of unnecessary to take up bandwidth just because i was tired and forgot to check the spelling xD