• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

C Programming Resources

misle

Diamond Member
I have a program due Wednesday and my instructor speaks spanish, so I need a good resource for C programming. This program deals with structures, which I don't get quite yet. Any websites or book recommendations are welcome.

Thanks!!!

Matt
 
just had a test on pointer,enum and struct toda :Q!

i dont know a lot of sites that teaches c++, but this site is pretty good. Hope it helps... good luck on the assignment!

EDIT: OOPS you are talking about C Programming!... but it shouldn't vary alot...hopefully 😱

~GiLtY
 
Basically I need a good overview of Structures and in class something with a dot pointer notation... (first_name.last_name.) Something like that, I'm not sure how they work and that's my problem.

GiLtY Yeah, it's C, C++ is next semester or maybe Java...
 
<(first_name.last_name.) Something like that>well, from the example you gave there, i think the way you use structure is pretty similar to C++.

the way we do in C++ is:

struct//this is the keyword for using struct// name//name for the struct
{
int var;
char[12];
so on....
};

name names//names is pointed to the structure name... in here, name works like a data type (ie. int,float)

names.var=12;
//this is using the pointer (names) you just declared to access to the member (stuff inside the structure), in the above statment, you just initialized that the variable var equal to the value 12. the dot (.) is use to access to any members(all the variables inside the structure)

that's the basic idea about structure

hope it helps 😉
 
Back
Top