- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re: you cant get the coordinates of the pointer outside the form.. if you wish to.. customize windows!! :lol: | |
Re: isnt semicolon at the end of any statements a required syntax in C and C++?? if thats so, that cant be possible unless modifying the whole language(Not C anymore).. | |
Re: the numbers before them represents the limit of places(tens,hundreds etc.) of the data type(usually float/integer) should be.. get it? | |
i checked my site's statistics..and i viewed the bots who visited my site.. then there was googlebot..40 hits..last may 9...but when i checked my index status in google..they said that my site is not yet indexed... the problem is..since my site was crawled by googlebot...why is it not yet indexed … | |
Re: answer for you question #1: using increment operation is far more effective than that of using assignment and addition operation.. | |
Re: you forgot to put an address operator '&'.. code should be like this.. [code=c]scanf("%s", &a);[/code] | |
Re: [quote=laconstantine;363032]I just was wondering why the array its self are a pointer to the first element? and what is the difference between an array and a pointer?[/quote] nice question! first, i want you to read a definition of arrays, An array is an example of a homogeneous random access data … | |
can you please suggest me tips and tricks in increasing my site's traffic?? Thanks!! | |
Hi.. I know C and C++ and learned the basics in 1 month. now, i am writing programs, but that programs are only for mathematics. Is there anyway i can learn system programming in C? What site would you recommend?? Thanks!.. | |
Re: you cant call a function outside main(), in c++ you can use cout to output data, that requires iostream.h so if you feel you want to use that in c, copy the header file to c's directory. when you're thinking you can use string functions, you're wrong, string functions require … | |
Re: [quote=Covinus;364029]First of all im a java programmer and im porting to c\c++. I have no knowledge of c\c++. Because my work requires me to learn c\c++. in just 1 week they want me to code intermediate stuff. I wasnt able to comply 100% to their requirments but at least i … | |
Re: [quote=NewKidWalking;363610][code=language] #include <iostream.h> char first[ 20 ]; char middle[ 20 ]; char last[ 20 ]; main() { cout << "What is your name ScumBag? "; cin >> first >> "\n" >> middle >> "\n" >> last; return 0; } [/code][/quote] hi... the problem is, you cant put escape sequences in … | |
Re: in declaring and defining functions, you should know that there should be no whitespaces in the name, also, you should assign the correct data type to a variable you declared, if you want it to function as a character, you should assign it as a char type. good luck! | |
Re: [quote=satyanarayanam;362698]Hi, This is satya, how we can print a string in C that doesn't use printf in main or functions? plz help on this Thank u..[/quote] there are 2 ways... 1.you can use a pointer, and puts(). here is the example, #include <stdio.h> #include <string.h> main() { char *msg; msg … | |
Hello, I want to know where to start in software programming in C and C++, I know their basics, i can write programs of mathematical solutions, but, can you please help me, adjust to a higher level, like software programming, Thank You Guys!! | |
Re: hey...can anyone teach me c basics...like the while loop??thx... |