Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
3
Posts with Downvotes
1
Downvoting Members
3
1 Commented Post
~9K People Reached
Favorite Tags
Member Avatar for Stealthbird97

Hi, I realise I might be asking quite a lot here but I have no idea what I need to do in order to get this to work correctly. I have the following. http://jsfiddle.net/Stealthbird97/6k8es/ Just press the "a" key on your keyboard to see what it does. Now, I want …

Member Avatar for Stealthbird97
0
151
Member Avatar for oomotayo

Here is what i want to do, check the image attached, javascript to sum the values of text boxes in a row having individual total, i have this but not working function sum() { var txtFirstNumberValue = document.getElementsByName('ca_score[]').value; var txtSecondNumberValue = document.getElementsByName('score[]').value; if (txtFirstNumberValue == "") txtFirstNumberValue = 0; if …

Member Avatar for JorgeM
0
2K
Member Avatar for noobeyne

In the following function, the first debug output line ("debugPut"), produces what seems like a valid result: X: 427 Y: 197src=http://www.mygameslab.com/Switch/settingsScreen.png and even pasting the image link itself correctly displays the screen graphics. However, the screen never displays and the next debug text which was supposed to print "Kukuriiiiiiku" doesn't …

Member Avatar for noobeyne
0
342
Member Avatar for newsguy

I am, it appears, a lot more average than I hoped. Well, at least when it comes to the world of computer gaming. A new [URL="http://www.ajpm-online.net/content/pressreleases"]study[/URL] reveals, amongst other things, that the profile of the average gamer looks a lot less like the hyperactive, cola drinking teen obsessed with kicking …

Member Avatar for JackRT
2
590
Member Avatar for gastonci

It may be the compiler, but it just doesn't work. The program it's suppose to return the string "a m". [CODE] #include <iostream> #include <string> int main(int argc, char *argv[]) { std::string x = "hola mundo"; std::cout << fromto(x.c_str(),"l","u") << std::endl; return 0; } [/CODE] [CODE] const char* fromto(const char* …

Member Avatar for gastonci
0
188
Member Avatar for caribedude

I've been trying to make a program that can read some information from a file and store it in memory to compare with user input. It's sort of a quiz with organic synthesis. A synthesis is dived into steps so I chose to make a synthesis a vector of vector …

Member Avatar for caribedude
0
98
Member Avatar for gastonci

very simple, is there any speed or memory diference beetwen this two whiles? [CODE] int x = 0, y = 0; while(x < size) { y++; array[x] = array[y]; x++; } [/CODE] and [CODE] int x = 0; while(x < size) { array[x] = array[x++]; } [/CODE]

Member Avatar for gastonci
0
82
Member Avatar for besbis cat

hey guyz how r u?? plzz i rly need ur help with this 1.. coz i dnt know how 2 writ it..:( Writ a program estimate how much a young worker will make before retiring age of 65. request the worker’s name, age, and starting salary as input. Assume the …

Member Avatar for wareagleau
-3
160
Member Avatar for .:Pudge:.

I am trying to read the contents from the specified file into a char array and then send that to the client. The problem i get is that getline() wont take a char array as a parameter and strcat() wont take a string as a parameter so I dont know …

Member Avatar for programmersbook
0
123
Member Avatar for T-Dogg3030

Hi, my code prints out the number of times a letter is typed. I can get it to print out the correct info, but when it deals with a white space, it will print out the list for every white space. how can I deal with this? [CODE] #include <iostream> …

Member Avatar for T-Dogg3030
0
147
Member Avatar for BobRoss

I'm trying to finish up this little shift cipher I'm writing so I can encrypt the text files on my flash drive in case the drive becomes lost or stolen. It simply reads line by line from a plain text file, encrypts each line and outputs the lines to a …

Member Avatar for BobRoss
0
157
Member Avatar for timlo

Hi, I'm trying to find a way to extract numbers from a text consisting of words and numbers but have no idea how to do it. The numbers can be larger than one digit and should be able to be manipulated by common math operators like +, - and / …

Member Avatar for timlo
0
4K
Member Avatar for moods125

#include <iostream> #include <iomanip> using namespace std; //global constants const int SIZE = 12; //function prototypes bool getAverageRainFall(double rain[SIZE]); bool getExactRainFall(double rain[SIZE]); void displayResults(const double actual[SIZE], const double average[SIZE]); void printMonth(int month); // PRECONDITION: month holds an integer 1-12 // POSTCONDITION: the corresponding month (Jan, Feb, ..., Dec) has been …

Member Avatar for moods125
0
187
Member Avatar for miag

[CODE]#include "queue.h" #include <cstdlib> using namespace std; void queue::sort() { Node *nodeLeft, *nodeRight; double temp=0; int nofswaps=1; if(size>1)//check that at least two nodes exists in the queue { while(nofswaps>=1) { nofswaps=0; do { nodeLeft=pFront;//nodeLeft first time points to the first node of the queue and then points to next node …

Member Avatar for gastonci
-4
90
Member Avatar for BobRoss
Re: File

Sorry, the thread title should read "File paths with spaces" Hello everyone. I am finalizing this little shift cipher program that reads a plain text file line by line, encrypts it, and writes it to a cipher text file. I'm just having difficulty when a user enters file paths with …

Member Avatar for jonsca
0
108
Member Avatar for gogo000
Re: c++

how do i chck that a string contains integers or characters or is empty???

Member Avatar for mrnutty
0
91
Member Avatar for mariusmssj

want to be able to count the words in an array or a string :S but i am not sure how to do it could i get some help please what i want to do is be able to tell how many words have been entered. so i will need …

Member Avatar for mrnutty
0
168
Member Avatar for Dex02

Hello guys, i need help. I just began to learn c++, and i have a problem. How to write a program, which count numbers in a interval from k to n. I now the program is simple but i just can t bring it to work. Im using the loop …

Member Avatar for Dex02
0
108
Member Avatar for samarth

Hi, I have the following piece of code. I do the following here 1)open a file. 2) Print the filepointer positon . I get 0 3)Read the file in a while loop till i reach the end 4)close the file 5)Open the same file 6) Print the file pointer position …

Member Avatar for gastonci
0
264