the brackets.. watch your opening and closing brackets for calculations(). You missed something there dude.
Type: Posts; User: newbie_grg
the brackets.. watch your opening and closing brackets for calculations(). You missed something there dude.
Believe me dude Salem is the only REAL programmer we have in this forum... :)
axon,
I suggest you to use strtok(). Read it about it here. There are also other docs which may matter to you.
http://www.gnu.org/manual/glibc-2.2.5/html_mono/libc.html
cheers
hi guys,
I am not a network programmer or whatsoever but while going through
the website that laasunde had mentioned in C++ board->
Madwizard
a question just struck my head. Is it...
ummm...
It is not necessary to carry out C-ish style in C++...unless one is destined to do so.
#include <iostream>
using namespace std;
int main(std::string argc , int argv) {
#include <iostream>
#include <cstdlib>
#include <conio.h>
using namespace std;
int main(std::string argv , int argc) {
string yourName = "doodlepoodle";
Salem is simply just the perfect Master
hehehe.... ....
This should work fine
#include <iostream> // iostream.h will also work
int main()
{
for(int x=0;x<100;x+=5) // increment each value of x by 5;
{
cout<<x<<endl;
Hi,
How can we delete the objects initialised by the pointers automatically in a program without delete[]/delete keyword. Like for example java explicitly runs the garbage collector. Can we do that...
You really need to format your question.
hi,
what does MSVCRT.DLL do in windows? Why is it used?
I was just compiling afx.h which i got from net. and another error pops up. Its linking error
gcc: Compilation of header file requested
gcc: file path prefix `C:\DEV-C_~1\Bin\' never used
I...
Hi,
I need help with the source code problem. I need to get hold of these two headers. If these are user defined header then why does someone not give his/her header?? Isn't this open source...
I reckon. Andrianxw is quite right. Bjarne's book is too hard for a beginner. I would rather suggest beginner like me to get hold other books cause i am having a hard time getting through this book!
I reckon. Andrianxw is quite right. Bjarne's book is too hard for a beginner. I would rather suggest beginner like me to get hold other books cause i am having a hard time getting through this book!
i compiled the program stars.cpp but it doesnt run.!!
compiler returned-
25 c:\dev-c_~1\myfile~1\stars.cpp
aggregate `union REGS regs' has incomplete type and cannot be initialized
try using gets() , getline() , read() or any relevent function.. guess it might work ...
incase of 15 elements just do
char v[15] = "my name is fala";
myfunction(v);
//same as before.
well you didnt catch my point here. okay....
while (* a_string++ != NULL )
{
// do something.
}
//we can use a '/0' instead of NULL can't we?? but why
i think this should do.
char* myfuntion(const char* your_ variable)
{
// do stuff
return (//your char* value here);
}
int main(void)
{
hi ,
There are 2 questions here. I would appreciate your help here.
1.i want to know what you all prefer to use ->NULL or '\0' ??like for example to count the length of string. and also why do...
thanx magos.
I jsut wanted to know about them. Do you have any idea about the good books on Asm language??
i will appreciate your help on this part too..:p
hi,
ineed to know what is wrong with this macro definition
#define fac(a) (a)*fac((a)-1)
hi,
I was just reading when i got struck with this question.
1.what are embedded systems and how do we program for such systems.
2. what do we mean exactly by assembly language??can we...
well,
actually that is all the code. :)
#include <iostream>
int main(void)
{
int int_value;
cout << binary << int_value;