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
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 27
Member Avatar for DREAMER546

Hi please can anyone run this code for me in Linux .. i want to know what's the output [CODE=c++] #include <stdio.h> #include <unistd.h> #include <sys/types.h> int main(){ for (i = 0; i < 3; i++) { if (fork() != 0) { printf("ONE"); if (fork() == 0) { printf("TWO"); } …

Member Avatar for Nick Evan
0
145
Member Avatar for DREAMER546

hi i'm having a problem when i use pointer to pointer i've tried my best to make this work .. but it didn't i've got a run time error! PLEASE .. Please .. please i need help :'( if any one have tutorial about how can i work with pointer …

Member Avatar for DREAMER546
0
128
Member Avatar for DREAMER546

hey .. please i need help with this code when i write it and i start in case 3 .. i've error massage .. illegal case .. why is that ? [CODE][LIST=1] [*]#include <iostream> [*]#include <string> [*]using namespace std ; [*]class employee [*]{ [*]private: [*] string name; [*] int salary; …

Member Avatar for DREAMER546
0
80
Member Avatar for DREAMER546

hey .. please i need tutorial 4 vector .. because i'm tring to convert this code from array to vector .. but i failed .. so i think my way is wrong .. :( [CODE=c++]#include<iostream> using namespace std; #include<string> #include<vector> class student_recored{ vector<int> ex; string name; long ID; public: void …

Member Avatar for DREAMER546
0
98
Member Avatar for DREAMER546

hey .. i write this code .. but i have errors .. i think because i didn't use the enum in the right way?! .. can anyone tell my how to correct it .. i got these errors :( .. : 'stone' : redefinition; different basic types see declaration of …

Member Avatar for DREAMER546
0
104
Member Avatar for DREAMER546

hi .. please can anyone help me with this .. i need it today i wanna to do swith with this .. can i or not? if ( x>y ) cout<< " x is bigger "; else cout<< " y is bigger "; -- and i wanna to do conditional …

Member Avatar for DREAMER546
0
115
Member Avatar for DREAMER546

hello .. please i need ur help in this .. i have this exercise .. 1. Define the following data member: a. fahrenheit_temp of type float. b. celsius_temp of type float. 2. Define a constructor that: a. Set the default value for the data member to zero. b. Call set …

Member Avatar for DREAMER546
0
197
Member Avatar for DREAMER546

hello .. after i write this program there's error i don't know why ? what's the wrong thing? [CODE]#include<iostream> using namespace std; class Account { private: int Acc_no ; double balance; public: void SetAccInfo() { cout<< " please enter your account number\n"; cin>> Acc_no ; cout<< " please enter your …

Member Avatar for DREAMER546
0
103
Member Avatar for DREAMER546

hey every one please can u help me .. i need this today [B]Write a C++ program to read numbers end with -1 then print the largest number[/B] i'm tring but always print to me the largest -1 that's wrong! :"( how can i fix this [CODE]#include <iostream> int main() …

Member Avatar for DREAMER546
0
106