Posts
 
Reputation
Joined
Last Seen
Ranked #141
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
98% Quality Score
Upvotes Received
51
Posts with Upvotes
50
Upvoting Members
36
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
33 Commented Posts
~215.93K People Reached
Interests
Programming, Electronics
Favorite Tags
Member Avatar for dseto200

Listed below is the original word jumble python program. According to the exercise i'm supposed to add hints see next thread on my modified program however it doesn't work correctly. [code=python] # Word Jumble # # The computer picks a random word then "jumbles" it # The player has to …

Member Avatar for Akash_22
1
7K
Member Avatar for OmniX

I know the dos command is "shutdown" then with your parameters of "-s -t xxx" etc. Anyways so "How to shutdown your computer using C++?" Thanks, Regards X

Member Avatar for Alex_34
0
2K
Member Avatar for guest7

Hi, I wish to compare partial bits of two one dimensional vectors. I know how to compare the two vectors completely. [ICODE]int main () { std::vector<int> vector1; std::vector<int> vector2; int out; vector1.push_back(100); vector2.push_back(101); vector1 == vector2 ? out = 0 : out = 1; printf("out = %d \n", out); return …

Member Avatar for Dasun_1
0
27K
Member Avatar for Narue

When you want to remove extraneous characters from an input stream in C++, it's usually because you mixed formatted and unformatted input methods. The formatted method would leave a newline in the stream and the unformatted method would consume it and terminate successfully, but fail completely to do what you …

Member Avatar for Smn
18
13K
Member Avatar for FruitPunch

I can't figure out the code for, 1) Get an error message dialog when there's no input in the textfield. 2) Get an error message when you put alphabets or other characters except for numbers.

Member Avatar for Freaky_Chris
0
258
Member Avatar for Freaky_Chris

Hey, im having a problem retrieving information about some files due to the fact either the file name or the extension is too long. For example i want to retrieve the size of a file only i call [CODE=Python]os.path.getsize("somelongfilename.txt")[/CODE] Note that it may not be a .txt extension, but it …

Member Avatar for johnres
0
3K
Member Avatar for hahanottelling

Can anyone help me with displaying text in a C++ window? I've read the chapter 9 at winprog but it makes no sense to me. here's the code I'm using: [code]#include <windows.h> #include "resource.h" /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class …

Member Avatar for Nick_3
0
5K
Member Avatar for tones1986

Hey folks, I am working on a project (its a continuation of my previous project)... but with a few additions. First off, i have to use class templates... I have used them before, but not when working with multiple class definitions and multiple files. Below i will post sections of …

Member Avatar for programmerkk
0
263
Member Avatar for giora88

Hello. Is there a way to move to the mouse cursor on the screen using C or C++? I am using windows vista and Microsoft visual studio 2008. I am pretty new to C so I don't know much. I have read previous threads which said that you need to …

Member Avatar for Narue
0
245
Member Avatar for UGndLord

I know these functions in C, but in C++ they doesn't work. What is replacement for these functions in C++ ? Thanks.

Member Avatar for Narue
0
3K
Member Avatar for BMPaul

Hello, im a noob with C++ at the moment and Im trying to create a BMP image from pixel data stored in a array. Everything seems to work except that when i look at the file generated in a hex editor i get an extra '00 00' in between the …

Member Avatar for gpyrounakis
0
2K
Member Avatar for Nickair

Hi, I was wondering if anyone could tell me the best way to start learning the java programing language? Are there any free programs i can download to help me practice? I am going to be going into computer engineering and want to get a head start with programing and …

Member Avatar for Sonny101
0
149
Member Avatar for bangor_boy

What is a better way to write the code, [CODE] public void showFeelings(int howManyGoals) { switch (howManyGoals) { case 0: System.out.println("Oh dear, not very good"); break; case 1: System.out.println("Oh dear, not very good"); break; case 2: System.out.println("Oh dear, not very good"); break; case 3: System.out.println("Ive seen donkeys shoot better"); break; …

Member Avatar for JKP()
0
175
Member Avatar for Falkoner1

Yes, I have read the sticky MANY times, however it does not help me with my problem. The issue is that I have a program where [icode]getch()[/icode] is used in conjunction with [icode]kbhit()[/icode] in order to only recieve input when the user hits a key. The problem is that if …

Member Avatar for burcin erek
2
459
Member Avatar for kutukak
Member Avatar for karthikeyanvani
-1
353
Member Avatar for lucy1234

hello, i need to do 15 puzzle algorithm in C as a part of my assignment.Can i please get help for this?? thanku, lucy.

Member Avatar for Adak
-5
2K
Member Avatar for ShadowOfBlood

I'm working on an assignment for Computer Science 121. The assignment is to write a program that prompts a user to input an integer and then outputs both the individual digits of the number and the sum of the digits. For example, it should output the individual digits of 3456 …

Member Avatar for 1stDAN
0
4K
Member Avatar for mark0420

plz teach me how to create a role playing game using c++ or any programming language?

Member Avatar for vxp
0
273
Member Avatar for zkelvin2010

I have to write a program that creates a text file that contains a power of two table in HTML format. Also the instruction are [COLOR="Red"]The file should start with something like: [/COLOR] <html><head> <title>Powers of Two</title> </head> <body> <table border cellpadding=5> <tr><th>Power of 2</th><th>Value</th></tr> [COLOR="red"]Each line of the table …

Member Avatar for jwenting
0
78
Member Avatar for miskeen

Hello guys, I've a class with a cpp and .h files. It's a part of a large program. I would like to create an array of structs and use it wherever in the same class, i.e. I want to initialize it in a specific function and use it in other …

Member Avatar for miskeen
0
153
Member Avatar for sandorlev

hello! i've just tried out lists in c++, but they're giving me some kind of problem. it has something to do with iterators but i'm pretty sure i'm using them the right way. anyway, here is the code: [CODE] #include <list> #include <iostream> int main(int argc, char* argv[]) { std::list<int* …

Member Avatar for sandorlev
0
151
Member Avatar for William Hemsworth
Member Avatar for William Hemsworth
1
2K
Member Avatar for gregarion

Hey, i was reading up on find function and i came across this line. size_t find ( const char* s, size_t pos, size_t n ) const; Correct me if im wrong, but it basically allows us to search a string based on the information inside an array right? After searching …

Member Avatar for mrnutty
0
146
Member Avatar for tennis

I saw the following sentences from a book “A difference between a destructor and other member functions is that, if a regular member function has a body at the derived class, only the version at Derived class gets executed. Whereas in case of destructors, both derived as well as base …

Member Avatar for mrnutty
0
104
Member Avatar for sana zafar

Hi I am attempting to write a code that will input the name of a file and output the number of times each letter appears in the file, and it is case-insensitive.For example : a|A : 5 b|B : 3 c|C : 0 d|D : 7 e|E : 0 so …

Member Avatar for Freaky_Chris
0
245
Member Avatar for wafie

[CODE]#include <iostream> #include <cmath> #include <iomanip> #include <fstream> #include <stdio.h> using namespace std; int main () { // Declared Variables. int choice; ifstream inputFile; inputFile.open("C:\\temp\\RowPrices.txt"); if (!inputFile) { cout << "Error opening file.\n"; } inputFile.close(); // These are my details. cout << "******************************************************* \n" << endl; cout << "Name: Bhupendra …

Member Avatar for Salem
0
169
Member Avatar for Amurka

Annual Interest Rate [COLOR="Red"] Monthly Payment[/COLOR] 11.00 [COLOR="Red"]952.32[/COLOR] 11.25 [COLOR="Red"] 971.26[/COLOR] 11.50 [COLOR="Red"]990.29[/COLOR] 11.75 [COLOR="Red"]1009.41[/COLOR] 12.00 [COLOR="Red"]1028.61[/COLOR] I've done the hard part and completed the project, but I can't figure out how to get my program to output in two columns like above. Since this site doesn't take spacing, black …

Member Avatar for alisneaky
0
2K
Member Avatar for gunjannigam

I want to Edit the Title of Save Dialog Box in JFileChooser from Save to Something Else. How is it possible?

Member Avatar for Freaky_Chris
0
81
Member Avatar for vbx_wx

what am i doing wrong ? :) [CODE] if(InternetGetConnectedState(INTERNET_CONNECTION_LANINTERNET_CONNECTION_MODEM , 0) == true) { cout << "internet alive"; } [/CODE] [CODE] error: invalid conversion from `int' to `DWORD*' error: initializing argument 1 of `BOOL InternetGetConnectedState(DWORD*, DWORD)' [/CODE]

Member Avatar for mitrmkar
0
2K
Member Avatar for sjgman420

I dont even know where to start with this program. I have been really busy and he tells us what to do. If anyone could help with this it would be great. here is what it says to do ASSIGNMENT DESCRIPTION This program will simulate the card game WAR!. The …

Member Avatar for Freaky_Chris
0
863