Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for yaya1234

Hey, I used getline to read from file. When i have the char '#' I should ignore that line.. I want to put in the privat values of the class what I got from the file.. Here is what I did.. it works only for one line and then when …

Member Avatar for Suzie999
0
160
Member Avatar for yaya1234

Hey, I allowed to use only one getter and setter per class. My variables initialization in the calss in need them is correct (I used the Debagger) But then I can not access the private variables ... Here is part of the program.. #ifndef _H_SIMULATION #define _H_SIMULATION #include <iostream> using …

Member Avatar for rubberman
0
184
Member Avatar for yaya1234

Hey, I would like to break one char for example "t6" into to chars t and 6 look at what i did... int a,b; temp = *arraystr[2] % '10'; a = temp - '0'; temp = *arraystr[2] / '10'; b = temp - 'a';

Member Avatar for sepp2k
0
112
Member Avatar for yaya1234

Hey, I know how to read from file.. I would to save it and send it to another function that can print it out that is in a different c file .. how can i do that?

Member Avatar for Maritimo
0
280
Member Avatar for yaya1234

hey, I need to read from a file but withput using string... I tried this... // reading a text file // reading a text file #include <iostream> #include <fstream> #include <string> using namespace std; int main () { char line[120]; ifstream myfile ("example.txt"); if (myfile.is_open()) { while ( getline (myfile,line) …

Member Avatar for yaya1234
0
1K
Member Avatar for yaya1234

We received a project to make calculator in assemly I want to check the result of the numbers actually in the range. that I don't have pverflow or undeflow. But it does not work .. Can you let me know where the problem so I could fix? here is my …

Member Avatar for yaya1234
0
144