Technology (Read Only) > Programming

C, C++ and C# tutorials

<< < (6/9) > >>

Cake Faice:

--- Quote from: Programmer César on September 02, 2011, 06:26:58 PM ---Yeah man, first I'm learing C, after I'll learn C++ and after I'll learn C#.

--- End quote ---

Then uh, do you really need to put the Programmer title in your username just yet?

Сєşάя:

--- Quote from: Face Cake ---Then uh, do you really need to put the Programmer title in your username just yet?

--- End quote ---

Because I know Python.

jimonions:

Сєşάя:

--- Quote from: jimonions on September 03, 2011, 09:35:29 PM ---

--- End quote ---

 ???

Travelsonic:

--- Quote from: César on August 18, 2011, 04:54:16 PM ---Anyone know how to put string input in language C?

--- End quote ---

Simple way: using a character array

Advancing it:  use pointers and a dynamic array of characters

Even more advanced-nes:  make a linked link class, or rather, the equivalent since IIRC C doesn't use classes like C++ does, where the data member is a character.

And use assert as a lazy-ish means of validation - make the program blow up in the face of whomever mis-uses it.  :trollface:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version