Any expert in C++ and C#???
By kitx101
@kitx101 (45)
Malaysia
September 15, 2007 8:30am CST
I have some ques reguarding the C# programming...i saw many example use int main(void) in their coding...actually wat is the "(void)" means?? Anyone noe?? Beside, wat is the different between visual C++ and C++ program?? And..the last thing, is there any compiler bside visual basic??? Anyone noe??
5 responses
@ifinallyfoundmybaby (1742)
• Philippines
15 Sep 07
well im not really an expert on this but that depends on how you use
the void on what type of case of characters youre going to put it in.
I mean on your register void the user inputs their name and the save
view void the user could view past and present records ( i really hope
you get the idea) well visual c++ is an advancement on c++ itself it
coincides with visual basic but i think only the page is visual basic.
I don't know much about this since ive been out of prograaming for a
couple of months now and i somehow forgot everything :) but im willing
to help ion the near future though.
1 person likes this
@ifinallyfoundmybaby (1742)
• Philippines
15 Sep 07
Yes its more like a library i use void in order to sort out how my
program sequence would be. Good luck with that. And yeah that varies
on how you use the void, its quite a flexible kind of code
@jean0827 (306)
• Malaysia
15 Nov 07
void is actually a program that dun return any prototype,
visual C++ is the software name, C++ program is a program which written by C++ i think?
there are other compilers beside Microsoft's Visual Basic, and most of these "others" are free.. because they're build by users and some are not very stable..
you can look for the C++ compiler on the internet..
@kitx101 (45)
• Malaysia
24 Nov 07
erm...for my opinion, i think visual c++ and c++ are both program oh, juz the visual c++ is more advance than c++..i juz find it out recently...hehe...and as u say, i hav look from different type of compiler on internet, but i stil think microsoft visual is the best...hehe...thank for ur info ya~~
@bryandel (4)
• Philippines
9 Oct 07
void is a return type in layman's term it is a type that doesn't return anything
check this
http://msdn2.microsoft.com/en-us//library/yah0tteb(VS.80).aspx
about the int main(void)..........the part main parenthesis is used to for command-line parameters/arguments
ex. dir /w
dir is the program
/w - is the parameter/arguments meaning the list should be in wide formate
@mnsrwt123 (2057)
• India
1 Apr 08
Well, the actual meaning of void in programming is not to return any thing when the function complete its task. Like you wanted to return any integer value when a program finish then you should have to use int rather than void, hope i clear to you.