Search:
Type: Posts; User: bhuvaneshnick
Search:
Search took 0.02 seconds.
-
January 12th, 2014, 07:21 AM
i am reading jumping to C++ book.where now i am going through pointers chapter.
there i seen pointer are used as reffernce variable to pass into the function,like so.but what are the other uses of...
-
January 9th, 2014, 09:13 PM
#include <iostream>
#include <cstdlib>
using namespace std;
struct name
{
int first;
int second;
};
-
January 8th, 2014, 08:31 AM
ok sir.i tried to rate you.but it showing u have to spread reputation.how can i do that
-
January 8th, 2014, 08:04 AM
thanks understood.And what is mean passing entire array element and passing element by element.answer with example are appreciated Thank you in advance
-
January 8th, 2014, 07:00 AM
#include <iostream>
#include <time.h>
#include <stdlib.h>
using namespace std;
void func(int x[0])//my doubt is here
{
cout<<x[2]<<x[3];
}
-
January 8th, 2014, 06:30 AM
i am learning arrays i want to whats the following effect of cods while passing array to the following function
void fun(array[])
void fun(array[4])
void fun(array[],4)
void fun(array[5],4)
...
-
December 30th, 2013, 09:02 AM
now it works as silk and smooth as before.but when i try to run srand ().why a new program is being opened.whats the reason
-
December 30th, 2013, 08:25 AM
this is the exact program i am using.but still i am getting error.my compiler is gnn gcu with code::block ide and windows 8.1 os
this is my errror
-
December 29th, 2013, 08:09 PM
my motive is to get random variable at every start of program.so it does not show same sequence when it run again and again
int main()
{
srand( time ( NULL ) );
cout<<rand();
}
-
December 27th, 2013, 12:35 AM
#include <iostream>
#include <string>
using namespace std;
int main()
{
int a[3]={0,1,2};
-
December 27th, 2013, 12:18 AM
#include <iostream>
#include <string>
using namespace std;
int main()
{
string s="Last Assignment/n";
-
December 26th, 2013, 05:56 AM
thank you 2kaud really good explaination
-
December 24th, 2013, 11:30 AM
int print(void);
int main(void)
{
cout << "The Lucky " << print() << endl; //This line
return 0;
}
int print(void)
{
-
December 21st, 2013, 11:43 AM
i am using code::block(ide).i found the debugging option but still lot there like watches and more.soon i learn they are really mean.thanks sir.one last question i am new to forums.what do u get if i...
-
December 20th, 2013, 10:31 PM
next time i correct that.i am new to c.all are saying run it through.but i actually don't know what it mean.debugger .please detail me
-
December 19th, 2013, 10:16 PM
expeceted output:20 but what i got is:22.why
while calling sub function it should take the
global variable am i right
#include <iostream>
using namespace std;
int a=0;
-
December 19th, 2013, 10:06 AM
i understand sir thanks for forwarding.will you say what are the other evil sides of decalring global variable
-
December 18th, 2013, 10:44 PM
i am beginer to c++ till now i am not crossed datastructures and classes.you are above example comes in that category.please sir will say this without struct and classes.i know its baby question.even...
-
December 18th, 2013, 03:50 PM
here board id global variable
Take the game board example from earlier—you might decide to create a function to display the board and have that function access a global variable. But what happens...
|
Click Here to Expand Forum to Full Width
|