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

In my perception C++ is better than C language. The first window (in illume downcast) shows the inspiration cypher for our low system. The wares one (in condition grayish) shows the ending of the performance erstwhile compiled and executed. To the socialistic, the intermediate numbers permute the curriculum, and are …

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

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

hi...i'm trying to improve a simple program that i made... this is a cash receipt program... to avoid the program form crashing,i insert a code of cin.fail() which will determine wether the data type the user entered is correct or not... if the data type is wrong that the program …

Member Avatar for valtikz
0
184
Member Avatar for happymadman

How can my "Player" class access a function of my "Map" class? The place I want it in is commented. Thanks. [code] #include <iostream> #include <string> using namespace std; class Map { public: Map(); ~Map(); void Map::print(); int Map::sendroom(int x_coord, int y_coord); private: int i; int p; int w; static …

Member Avatar for valtikz
0
114
Member Avatar for yingyuan

banking system : -all the bank accout can be created, accessed,and clossed later. -three type of account:current,saving,fixed deposit. -each custormer can open more than one type of accounts. -The transactions are deposit, withdraw, and view balance -the account created with a deposit and creation date. -After that money can be …

Member Avatar for valtikz
0
225
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
195
Member Avatar for Snapster5

Hi working on this lab, and theres mistakes were i know im not writing the code correctly but i am trying, really am. If anyone couuld help me out with these errors, or notice were i am writing incorrectly can you post correct way. thank you.. Description: Create a program …

Member Avatar for Lerner
0
144
Member Avatar for bhey

can you please show me how to make a countdown timer? and a game program, like guess the missing word. because when i tried it, it doesn't give the right output. please help me. because i really don't know much about c++ i might fail to this subject.:S:'(

Member Avatar for bhey
0
202
Member Avatar for Snapster5

Hi im working on a function lab that was givin to use, there are compile erros on it im not sure how to fix, most likely caused by mistakes by me not wrinting correctly. If you can help me out on this would be appreciated. Discription: The purpose of the …

Member Avatar for Ancient Dragon
0
120
Member Avatar for moods125

can someone help me do this problem An array can be used to store large integers one digit at a time. For example, the integer 1234 could be stored in the array a by setting a[0] to 1, a[1] to 2, a[2] to 3, and a[3] to 4. However, for …

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

The Question is : A store has 6 items. Each item has a price and a bar-code that uniquely identifies it. To simulate such a store, the program offers a menu showing the codes, their corresponding items, and their prices. The user chooses one or several items to buy, and …

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

Can someone help me please? I have to do this turkey project, everything is working ok, exept for my oven time. when it prints this line: [CODE]cout << "Put the turkey in the oven on the " << startThawDay + howLongToThaw <<"th " << " at " << ovenTime <<" …

Member Avatar for valtikz
0
84
Member Avatar for FancyShoes

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]

Member Avatar for Dave Sinkula
0
95
Member Avatar for rena0514

hello again....i'm in need of help. for my final program for my programming two class i have to write a program doing operations on sets. i wanted to know if someone could put me towards the right direction and give me an example of a program using friends of a …

Member Avatar for rena0514
0
109
Member Avatar for maverick405

I am working for this program all I want to display the users all attempted score and user gets only four chance to take quiz, the code below works fine the only problem is that 1. I dont want to display " Your Previous Score" for the first attempt, as …

Member Avatar for valtikz
0
151
Member Avatar for zobadof

MattyRobot as you may know him, gave me the code to make a new window, but it opens up cmd window too. I would like it so the window opens only. If anyone knows the code, I would be more than happy to find out

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

The program calls for: Here is what the program calls for: Write a program that lets a maker of chips and salsa keep track of their sales for 5 different types of salsa they produce: mild, medium, sweet, hot, and zesty. It should use two parallel 5-element arrays: an array …

Member Avatar for valtikz
0
436
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
237
Member Avatar for Deme

Alright, so i'm trying to make a type of database using file i/o where you type in a username and password and it writes it to database.txt... The issue is, i'm trying to find a correct and clean way of reading, or 'searching' for the username and password and compares …

Member Avatar for valtikz
0
923
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
84
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

how can i compute a code if i enter numbers then if i press any key its stops and computes the inputs of all no.

Member Avatar for Ancient Dragon
0
111
Member Avatar for valtikz
0
59
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
135
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