2

Ask The User To Enter A Number In C Language.?

May 22, 2009; C++

I want to be able to create a program that just runs a Complicated Formula with the number the user inputs with a prompt or something.

 
2

Is There A Built In Method To Allow Only Numbers To Be Entered In A Textbox In C#?

May 22, 2009; C++

Is there a built in method to allow only numbers to be entered in a Textbox in C#?

 
2

Does Anyone Know How To Solve Rubik’s Cube(magic Cube) By C++?

May 13, 2009; C++

I don’t know how to use c++ tree to solve the problem, can anyone help me?

 
3

How To Print Out ” Symbol In C Language ?

May 7, 2009; C++

I try to write Title = “sine graph” into a file using C language but to no avail as I cant print out the ” symbol.

 
2

How To Get Username In “c” Programming?

Apr 19, 2009; C++

I know for example in batch it’s just %username%. Is there a function that returns the username? Because I have been at it for hours and I can’t seem to find one. I’m really stumped, can anyone help? It’s in “C” not C# not C++. C!

 
2

If I Moved Jpegs And Word Documents From C Drive To Desktop, And Now Its Not There, Have I Lost Everything?

Apr 19, 2009; C++

i ran search and nothing is there. how do i recover the lost jpegs and docs, if at all?

 
2

C++??????????????????………?

Apr 9, 2009; C++

How to write a funtion printArray(A,m,n) that prints an m x n two dimensional array A of integers,declared to be “int** A”, to standard output.Each of the m rows should appear on a single line??

 
1

What Does Emit Do If Placed In Front Of A Function Call In C++?

Apr 6, 2009; C++

I am looking at the following line of code:
emit itemInserted(item);
What does the emit part do? I understand the rest (kinda).
This is in C++ GUI app (QT 4.5). It is used in some other parts as well.
Thanks for your help!

 
4

What Does Malloc Do In The C++ Programing Language?

Apr 6, 2009; C++

Hm….
void *malloc(size_t size)
prototype in alloc.h and stdlib.h
This function not implied in C++, but compatible with C.
What does malloc doing?
How to alloc mem 4 integers?
Easy: 4 integer = 4*2 bytes!
How to alloc mem 20 floats?
Easy: 20 float = 20*4 bytes!
How to?
float *myfloat=(float*)malloc(sizeof(float)*20…
int *myint=(int*)malloc(sizeof(int)*20);
Now, how to handle that pointer?
if(myfloat){
scanf(“%f”,myfloat[1]);
bla_bla_bla();
free myfloat;
}
else{
printf(“Not enough memory”);
exit(1);
}
But, implementation in C++ is new operator.
Same as malloc:
float *myfloat=new[sizeof(float)*20];
And destrory with:
delete myfloat;

 
1

How Do I Write A Program In C-langauge To Multiply Two Matricess?

Apr 4, 2009; C++

I need the code for this program or at least the loops in this program
?? I tried to write the loops but its just not working i ended up in 3 loopss;

Copyright © 2010 TechnoBlog

Powered by Yahoo! Answers