My recurssive solution was different and dint use c++.I had same math concept.I was trying the follow:
1.Allocate a 2 dim array with columns k(which user gives) by some Y (which is randomly very...
Type: Posts; User: svaidya
My recurssive solution was different and dint use c++.I had same math concept.I was trying the follow:
1.Allocate a 2 dim array with columns k(which user gives) by some Y (which is randomly very...
@iMalc:
I didnt read your post carefully.So I do know how to write function and the idea behind recurssions.I have written a few of them.Also I am familiar with cin and cout.But the company insisted...
@iMalc: You can use that language who has a lot of experience programming and not with someone who is just starting.If you want to comment on the way the code is written say nicely without offending...
@iMalc: mind your manners and stop being abusive. this is a help site used for learning.If you cant bear to look at it dont look at it.
err we dont really need the prototype for the factorial function... it is never used for this code!
Hi
Was working on a problem:
I got the partial solution:
#include <io.h>
#include <stdio.h>
#include <stdlib.h>
// reading a text file
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main () {
string line;
ifstream myfile ("example1.txt");
ofstream myargument...
my compiler doesnot support strerror(int A) .I get compiler error.
Hi
I am trying to find a function which does the same operation as strerror.
Any suggestions?
Thanks
shweta
Hi I am working on Linux machine and trying to get NTL to work.I keep getting error as NTL/ZZ.H No such file or directory despite the file being there.I tried to set my path to that folder path at...
Hi The following is my code I am getting Arithmetic exception in gcd function at rem=a%b can anyone help me finf why? how do I fix it?
#include "Pionare.h"
int main(int argc, char *...
Never mind..i figured it out i was not adding my cpp files correctly..
Hi i keep getting the following errors...can any one suggests why?
1>scene.obj : error LNK2019: unresolved external symbol "public: __thiscall Rectangle::Rectangle(class std::basic_istream
thanks...
Thanks! Will do what you asked..:) that is such a relief...
Hi
I am working on acode that runs on visual studio 2005.but Since I am supposed to work on Linux..I am having compatibilty issues.
I keep getting errors (which I know is normal) but I kdont know...
Hi
I am working on acode that runs on visual studio 2005.but Since I am supposed to work on Linux..I am having compatibilty issues.
I keep getting errors.
Any help or link to give insight would...
Hi
I am having trouble to understand why my image is sent from my root dir but doesnot appear on the browser.I am using firefox.I know the code is huge an d I shouldnt be posting it but I have...
My Question:
In the following code would just type casting to float be alright?Note that newblue,newgreen and newred are float.The output after this manipulation is not what is desired...the size...
char* new_strcpy(char* destination,const char* source)
{
int i=0;
while(*(source+i)!='\0')
{
*(destination+i)= *(source+i);
i++;
}
*(destination+i)='\0';//line
return...
I didnt think the kernels got complied inthe first place as I dont have gcc thus tried to get that but not working...I was trying to get PAL2.0 a Purdue University wireless network free for Purdue...
hi ,
i couldnt figure where to put this.
Whjat are the various C compliers on a linux OS available other than GCC?
What difference would it make if I comple acode in GCC or CC? to what extent my...
Hi,
I have installed OpenSUSE10 on my laptop .I have dualboot machine..with windows vista on othe rside.I am trying to connect to wireless but no luck I kept getting kernel sources not found .I...
>>The condition is( if weight and distance are 10kg and 5 miles Rs 50. If the >>weight is more than 10kg ie per 1kg Rs 5 and after 5 miles 1 mile to 10 mile >>rs 10. After 15 mile for every mile...
Ftp not available.....copying to usb worked fine..had some file formating issues
Hi
I am trying to get files from solaris 10 x86 :
1.create ashare network drive so we can get files on windows
2.get theem on usb.
How to do any of these?
Thanks
shweta