I have a problem using the recursion.
what is the difference between these 2 codes?
void test(int i)
{
if(i==5) return;
test(i+1);
cout<<"print\n";//why this part is...
Type: Posts; User: ghost007
I have a problem using the recursion.
what is the difference between these 2 codes?
void test(int i)
{
if(i==5) return;
test(i+1);
cout<<"print\n";//why this part is...
ive watched a lot of things regarding the debugging.i can debug.in C i can see all values of a string as an array.
But in C++ string i cant do it.
please if you know give me a hint on how to do...
I mean is there a way to view the elements of the string or vector in CODEBLOCKS???
ok i dont understand what std::string means.sorry.
but when i open the watch window;
under s1 string(as ive declared before)
it shows
static npos=4292967295;
M_dataplus(you can expand it)
it...
i am trying to see separate values of a string in C++ while i debug.
IN C i was able to do it but in C++ i failed.
it doesnt show values seperately,
I know basic debugging.
Using Codeblocks
...
I am using Codeblocks
i am trying to see separate values of a string in C++ while i debug.
IN C i was able to do it but in C++ i failed.
it doesnt show values seperately,
I know basic debugging.
suppose,
i...
and the program doesnt work.thanks for pointing out the mistake
guys i just have problem that why isnt the program displaying all results???using codeblock
#include<stdio.h>
int main()
{
int x,y;
for(y=1;y<=1000;y=y+1){
x=y;
if(x==1 || x==2 || x==3 || x==5 || x==7 || x==11)
{printf("\nprime%d",x);}
yeah tried that.actually didnt understand it.TOO complex for my tiny brain.:D
can you tell me something that is simpler(i mean very simple).with simple problems.an example maybe.how it works and...
i am a newbie.i use codeblocks 10.05 in 32bit Windows 7 ultimate.
i DONT know anything about debugging.how to do it with codeblocks.And how can i identify bugs with it???????
I would really...
yes i did.those work fine.
im using the software codeblock.im on windows.no the screen does not flickr.it just says thatprocess returned 1. just like that.thanks
i dont know.i cant debug.Sorry.thanks for reading
can u do that for me???
(using codeblocks)
#include<stdio.h>
main()
{
int x,y,z;
for(x=1 ;x<=3 && x!=y; x++)