Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
25% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
1
Downvoting Members
3
0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
c++ x 8
Member Avatar for pritpal.singh88

[code]ofstream f; char c; f.close(); f.open(s.c_str(),ios::out); if(f.is_open()) { cout<<"Press <q> to save file"; char *text; int count=0,count1; while(1) { system("stty raw -echo"); cin>>c; cout<<c; system("stty cooked echo"); text[count]=c; ++count; if(c=='q') { text[count]='\0'; while (text[count1]!='\0') f.put(text[count1++]); f.close(); break; } } [/code] please help me out in this syntax i was not …

Member Avatar for jonsca
0
111
Member Avatar for pritpal.singh88

hi friends im facing one problem i have used cin to input a choice like (cin>>ch) then i have used to take input to string as getline(cin, string_s) but getline does not works when i use cin if i donot use cin it works well why it is happening??? and …

Member Avatar for Kanoisa
0
124
Member Avatar for pritpal.singh88

hi friends i want a delay of 100 milliseconds in my program as their is delay function in dos.h likewise i want to know [B]is there any function in c++ for delay of some milliseconds im using ubuntu.[/B]

Member Avatar for sergent
0
923
Member Avatar for pritpal.singh88

hi friends and seniors i want to play (add audio files, remove audio files,and other oprations) players(like vlc) through c++ coding in Ubuntu help me out. how do i do this. i don't even have idea... i know how to accept input from command prompt

Member Avatar for ravenous
0
405
Member Avatar for lochnessmonster
Member Avatar for pritpal.singh88
0
214
Member Avatar for pritpal.singh88

[B]I want to play mp3 song file in ubuntu using c++ [/B] suggest me is their any function to do this plz suggest me as simple as u can suggest any method.... plz give ur valueable suggestions.....

Member Avatar for mike_2000_17
-2
2K