Posts
 
Reputation
Joined
Last Seen
Ranked #626
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
61% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #1K
~5K People Reached
Favorite Tags
c++ x 50
Member Avatar for serra01

[QUOTE=serra01;1080142]===============================================Lawyer Marketing[/QUOTE] Good job! you're such a spammer! :angry:

Member Avatar for adams161
-9
292
Member Avatar for valtikz

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 …

0
61
Member Avatar for lkegley

[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 …

Member Avatar for jonsca
0
97
Member Avatar for samsons17

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]

Member Avatar for valtikz
0
185
Member Avatar for happymadman

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 …

Member Avatar for valtikz
0
115
Member Avatar for yingyuan

[QUOTE=Mazen_1st;1080263] this is a suck code i hated it kill it:icon_mad:[/QUOTE] what is this for?!

Member Avatar for valtikz
0
226
Member Avatar for valtikz

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 …

Member Avatar for valtikz
0
197
Member Avatar for Snapster5

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

Member Avatar for Lerner
0
145
Member Avatar for bhey
Member Avatar for bhey
0
202
Member Avatar for Snapster5

[QUOTE]42 expected primary-expression before "else[/QUOTE] remove ";" at line 30. it must: [CODE] if ( Letter_code == 'S')[/CODE]

Member Avatar for Ancient Dragon
0
121
Member Avatar for moods125

[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! ;)

Member Avatar for moods125
0
268
Member Avatar for mr.hassan4489

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 …

Member Avatar for zobadof
0
137
Member Avatar for laelzio.mosca

please explain your logic about your ovenTime. What is needed to done?

Member Avatar for valtikz
0
84
Member Avatar for FancyShoes

[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 …

Member Avatar for Dave Sinkula
0
96
Member Avatar for rena0514
Member Avatar for maverick405

This is for not displaying "Your Previous Scores" at first try. [CODE]if (tries != 0){ cout << "\nYour Previous Scores:\n"; }[/CODE]

Member Avatar for valtikz
0
152
Member Avatar for zobadof

This will solve your problem: [CODE]HWND hWnd = GetConsoleWindow(); ShowWindow( hWnd, SW_HIDE );[/CODE]

Member Avatar for zobadof
0
110
Member Avatar for C++ Beginner

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 …

Member Avatar for valtikz
0
438
Member Avatar for valtikz

[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 …

Member Avatar for WaltP
0
241
Member Avatar for Deme

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 …

Member Avatar for valtikz
0
939
Member Avatar for valtikz

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 …

Member Avatar for Nick Evan
0
85
Member Avatar for valtikz

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 …

Member Avatar for Nick Evan
0
85
Member Avatar for valtikz

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 …

Member Avatar for valtikz
0
113
Member Avatar for ongpong

yes thats right! dont just ask and ask, just try it first to do by yourself. try and try until you cry. ;)

Member Avatar for Ancient Dragon
0
112
Member Avatar for valtikz
0
60
Member Avatar for valtikz

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 …

Member Avatar for valtikz
0
77
Member Avatar for valtikz

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!

Member Avatar for valtikz
0
136
Member Avatar for valtikz

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 …

Member Avatar for valtikz
0
120