- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Re: [QUOTE=serra01;1080142]===============================================Lawyer Marketing[/QUOTE] Good job! you're such a spammer! :angry: | |
anyone knows how to play sounds(wav, or mp3) in (linux)fedora 10 using gtkmm with c++? I only have: [CODE]system ("mpg123 test.wav");[/CODE] but every time the sound will play the program will stuck until the sound has been ended. The sound and program must play at the same time. Thanks in … | |
Re: [QUOTE=lkegley;1080288]I am working on a programming that uses classes to complete several tasks. I have successfully created a program that reads in the opponent name, home score, and opponent score for a team's season. Now I'm trying to go back and write a method that can be used to output … | |
Re: it is only because you declare youre id as a string, Which is characters or numbers are valid. The id must be in interger right?! [CODE]int id;[/CODE] | |
Re: on line 11: you can remove the "[B]Map::[/B]" because you are already in the class map and you are declaring a function. just do this: [CODE]void print();[/CODE] also at line 12 and line 68. ( remove the Map:: or Player:: ) [QUOTE]How can my "Player" class access a function of … | |
Re: [QUOTE=Mazen_1st;1080263] this is a suck code i hated it kill it:icon_mad:[/QUOTE] what is this for?! | |
Is there a possible way I can connect the WNDCLASSEX to the class in Gtk::WIndow??! because I'm working on tray icon of gtkmm program for Windows. I already have a TrayIcon using this : [CODE]Shell_NotifyIcon(NIM_ADD, &g_notifyIconData);[/CODE] But there is no function, it only display an icon it doesn't go in … | |
Re: are you the one who create this program or not?! I think this is a quiz that you will need to remove all the errors. Correct me if I'm wrong. :D | |
Re: change "int" into char or sting [CODE]int word, a, perfume;[/CODE] | |
Re: [QUOTE]42 expected primary-expression before "else[/QUOTE] remove ";" at line 30. it must: [CODE] if ( Letter_code == 'S')[/CODE] | |
Re: [QUOTE=jonsca;1070592]I think he meant this link [url]http://www.daniweb.com/forums/announcement8-2.html[/url] though that one fits with his sense of humor...[/QUOTE] yes, this is right! ;) | |
Re: Try this code: [CODE]#include <iostream> #include <iomanip> using namespace std; void DispalyStoreItems (); int ChoosingItems (); double calculateChange ( int pay , int cost ); int main () { int cost, pay; DispalyStoreItems (); cost = ChoosingItems (); calculateChange ( pay , cost ); //system ("PAUSE"); return 0; } void … | |
Re: please explain your logic about your ovenTime. What is needed to done? | |
Re: [QUOTE=FancyShoes;1071854]why does this happen? I want it so that it does not display the text using an or statement and not using and or anything else. [CODE] if( 1 == (2 || 2 || 2)) { cout << "Should not display"; }[/CODE][/QUOTE] If atleast one of the statement is true … | |
| |
Re: This is for not displaying "Your Previous Scores" at first try. [CODE]if (tries != 0){ cout << "\nYour Previous Scores:\n"; }[/CODE] | |
Re: This will solve your problem: [CODE]HWND hWnd = GetConsoleWindow(); ShowWindow( hWnd, SW_HIDE );[/CODE] | |
Re: Try this: [CODE]#include <iostream> #include <string> using namespace std; void showSold(int sales[], int salsa); int main() { const int SALSA = 5; string name[SALSA] = {"mild", "medium", "sweet", "hot", "zesty"}; //Salsa Types int sales[SALSA]; int sold(), total(), highest(), lowest(); cout << "Please enter the number of jars sold for each … | |
[QUOTE]In function `DefaultDialogHandler::handleCommandString(CommandString&)': /home/ws14/Desktop/trunk/test/test1/test2/test3/test4/DefaultDialogHandler.cxx:343: undefined reference to `SipDialogPublish:: SipDialogPublish(MRef<SipStack*>, MRef<SipIdentity*>, bool)' collect2: ld returned 1 exit status[/QUOTE] line 343 here: [code=cpp] MRef<SipDialogPublish*> pub(new SipDialogPublish(sipStack, phoneconf->defaultIdentity, phoneconf->useSTUN ));[/code] Can someone help me about this error...Please explain to me what is this mean..and how can I solve this one. thanks in advance … | |
Re: Try this code: [code] #include <cstdlib> #include <iostream> #include <fstream> using namespace std; char* Username = new char[255]; char* Password = new char[255]; char* User = new char[255]; char* Pass = new char[255]; void Join() { ofstream username("Username.txt"); ofstream password("Password.txt"); cout << "Welcome New Member, Please Enter a New Username … | |
How can I add image before the label like a warning sign?? and how can I make bold the label?? Thanks! [code] OkCancelDialog::OkCancelDialog():Gtk::Dialog( "Clear all calls", false ){ Gtk::VBox * vbox = get_vbox(); Gtk::Table * table = new Gtk::Table( 2, 1, false ); Gtk::Label * label = new Gtk::Label( "Please … | |
I have a Gtk TreeView named phoneBookTreeView Gtk::TreeView * phoneBookTreeView; can someone help me how to sort all the contacts inside the TreeView? if I have a code like this for sorting the contacts byname: [code]void PhoneBookModel::sortByName( Glib::RefPtr<Gtk::TreeSelection> selection ){ /* Enter SortByName Function here */ }[/code] what would be … | |
This is my code fo [code] void CallhistoryWindow::on_button_buffer1() { m_TextView.set_buffer(m_refTextBuffer1); } void CallhistoryWindow::on_button_buffer2() { m_TextView.set_buffer(m_refTextBuffer2); } [/code] if I already call the on_button_buffer1() function the m_TextView is already set the buffer m_refTextBuffer1. But if I already change the m_refTextBuffer1(the textfile) value the m_TextView wont change anymore you may need to … | |
Re: yes thats right! dont just ask and ask, just try it first to do by yourself. try and try until you cry. ;) | |
I need to sort a List store TreeView. By name and By Number. | |
What will be the code for not overwriting the text file you make. [code]ofstream myfile; myfile.open (home/.test.txt); myfile << "test"; myfile.close(); [/code] Because the test.txt is needed to create only just once after you load the widget. I inserted that code to the mainWindow but whenever I loaded the mainWindow … | |
This is my next question: how to get a document from root? because I have this code: [code] myfile.open ("/home/ws14/Desktop/test.txt"); [/code] But I need to change the path home/ws14 if I change user. Thanks! | |
for example you have a: string test; [CODE] void ExampleWindow::on_clicked(){ ofstream myfile; string test; myfile.open ("/home/ws14/Desktop/trunk/minisip/minisip/share/test.txt"); mydialfile << test; mydialfile.close(); } [/CODE] how can I just add or insert a value on the file(test.txt). not just overwrite the file(test.txt) when the function(on_clicked) is being called. All I need is if … |