I'm using Dev-C++ 4.9.8.0,and this is the code:
#include <iostream>
#include <string.h>
int main()
{
char string[100];
std::cout<<"Type a string:";
Type: Posts; User: ali1
I'm using Dev-C++ 4.9.8.0,and this is the code:
#include <iostream>
#include <string.h>
int main()
{
char string[100];
std::cout<<"Type a string:";
Thanks.I'll just have a look at the FAQs.
aah... i got it.An alternative to:
for x=1 to 10 step 2
would be:
for (int x=0;x<=10;x+2);
In VB we can use a step statement during a for next loop to step between the counter.My question is,is there any alternative to that in C++?
Hi everybody.
I'm moving from VB to C++,and i find this language totally awesome except some concepts that are really confusing.I've pretty much got an idea of everything else except using...
wow..i actually did it.I hope no one minds me posting my code here :D
#include <iostream>
void star(int x);
int main()
{
int x;
for (x=0;x<10;x++)
Hi everybody.
I'm new to coding C.I can already code in VB and ASM,but after spending a lot of time coding in VB its really hard for me to learn to code in C.Especially pointers are really...