Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #4K
~3K People Reached
Favorite Tags
Member Avatar for raul8

Hi, I've not worked in C, C++ from like 5-6 years. But now I got to do a very small change (explained below). I tried reading tutorials but only got confused. Below I've struct containing 2 attributes. I need to create its refrence and pass values to these 2 attributtes. …

Member Avatar for rajenpandit
0
237
Member Avatar for szejna

In the function for overloading the >> operator I am getting this error: 84`rationalize_number' undeclared (first use this function) this is the function: istream& operator >>(istream& in, Rational& rational1) { char tempChar; int numerator = rational1.numerator; int denominator = rational1.denominator; in >> tempChar; if(tempChar == '(') { in >> rational1.numerator …

Member Avatar for rajenpandit
0
116
Member Avatar for phorce

Hello, I have this matrix: 0 0 1 0 0 0 1 0 1 1 1 0 0 1 0 0 and I need to print out the block with the coords: (2,1) so in this case: 1 0 1 0 I have tried this: for(int i=minRow; (i < 2); …

Member Avatar for rajenpandit
0
99
Member Avatar for jaepi

hi there, i just want to know what function to use in converting a char into an int like: [code] char temp; cout << "enter something"; cin >> temp; atoi(temp); [/code] is this the right way?

Member Avatar for WaltP
0
1K
Member Avatar for rajenpandit

hi everybody, i have choosen a project as my fyp,the project which can change the priority of any process. It is just like nice command. So can anyone suggest me how to proceed in this project. the reffrencial book if any.

Member Avatar for sknake
0
103
Member Avatar for rajenpandit

hi every one, i am a final year student. I want to make a project related to kernel........, but i am not able to think any new idea related to kernel so please give me some idea related to kernel based project. thanks.

Member Avatar for rajenpandit
0
119
Member Avatar for rajenpandit

Hi everybody, I have a problem in include path. i want to keep my all header file in folder named myInclude and include it like #include<myInclude/header.h>, Is there any possible way to do this, if there is than please tell me the step. thanks in advance...........

Member Avatar for rajenpandit
0
127
Member Avatar for bluebird

hello Is there any way to change numeric to figures? for example if the user input is 134, the program output must be one three four. thanks in advance, Bluebird

Member Avatar for rajenpandit
0
114
Member Avatar for rajenpandit

Hello everyone, I have created my own header file but it doesn't work if i just include like "myfile.h" and it works fine if i include like "myfile.c". I just want to know that why this thing happening in Turbo C compiler even it works fine in VCpp.

Member Avatar for Freaky_Chris
0
90
Member Avatar for Rein Valdez

Hello Daniweb Forum People, I have this problem of getting the decimal of a number? How can I get it and copy to a variable? ex.... 1234.59 I used a for loop in order to get the index value of 59, my problem was with the value? how can I …

Member Avatar for Aia
0
158
Member Avatar for dhiliptce

[code=cplusplus] #include<stdio.h> #include<stdlib.h> #include<iostream.h> main() { FILE *fp,*fp1; int numbers[30]; char *buffer; int i=0,j; // To read the file fp=fopen("PR1.txt","r"); if(fp==NULL){ printf("Error: can't access file.c.\n"); exit(1); } else { printf("File opened successfully.\n"); for(i=0;i<10;i++) { // while(!feof(fp)) { /* loop through and store the numbers into the array */ printf("Number- %d", …

Member Avatar for rajenpandit
0
117
Member Avatar for imput1234

Hey, I'm trying to only read the int's and the symbol - (negative) from the file. right now my code is where m,d, and y are dates. Everything works fine. Except I do not read the - symbol. Any one know how to solve this? [ICODE] fin.open(ifile.c_str()); fin >> m1 …

Member Avatar for imput1234
0
159
Member Avatar for kyosuke0

whenever the clearMemory function is called i get a segmentation fault and i can not figure out whats wrong. The function is supposed to delete all pointers. The function brings in the pointer to the linked list by reference. The nodes in the list are structs i named bus that …

Member Avatar for rajenpandit
0
133