49,761 Topics

Member Avatar for
Member Avatar for Ahmed2

Hello there, submissiontime length finishtime remainingtime 1031 17:11 574.1025391 MB 1050 17:30 1 1326 22:06 536.0175781 MB 1343 22:23 2 2721 45:21:00 608.1279297 MB 2741 45:41:00 3 32 0:32 575.8115234 MB 51 0:51 4 1161 19:21 652.6259766 MB 1182 19:42 5 937 15:37 288.7597656 MB 946 15:46 6 3087 51:27:00 …

Member Avatar for Ahmed2
0
319
Member Avatar for iwlc
Member Avatar for lothrodel

As I stated in the title i am having the issue where the object 'bj' does not call any of the functions that are within the class. I am stuck on this issue. Any help will be a appreciated. Thanks in advance. [CODE]#include <iostream> #include <cstdlib> #include <ctime> #include <string> …

Member Avatar for csurfer
0
154
Member Avatar for BrianC.

vista home premium Adobe CS5 Design Premium Acrobat X Pro Dell desktop (silvery gray):) Everything on my machines is properly licensed and registered. EVERY time I launch Acrobat X Pro I get, "MS Visual C++ Runtime Error Acrobat X/.../Acrobat.exe This app has requested Runtime to terminate it in an unusual …

Member Avatar for hinsburg
0
340
Member Avatar for bwilson1

I have been working on my code today and have minimalized my errors. Sadly, I still have a few errors left I can't figure out how to solve. [code] 28 F:\Program6-Arrays2.8.cpp cannot convert `double' to `double*' for argument `1' to `double getInput(double*, int)' [/code] [code] #include<iostream> #include<cmath> #include<conio.h> #include<iomanip> //needed …

Member Avatar for MandrewP
0
118
Member Avatar for Navlag

Hello all, I am building a small file system in c++ that builds a table in a file called test.txt from information on another file. I am trying to copy the information over and then access a specific part of it based on the date. The data is copied over …

Member Avatar for Navlag
0
267
Member Avatar for AlexFG

Hello everyone, I'm taking a C++ class in college and the last assignment for the semester is to write a sub hunter game that's worth 25% of my grade so needless to say I have to do a very good job on it. The due date is in 9 days …

Member Avatar for AlexFG
0
199
Member Avatar for Arkinder

I am not exactly sure what information is relevant, so my apologies for any useless/redundant information. On my Mac (Snow Leopard 10.6.8) with xCode (gcc) compiled and run through the terminal the following works fine (ignore code and continue reading): [CODE]#include <istream> #include <string> #include <iostream> #include <fstream> enum Year …

Member Avatar for Arkinder
0
387
Member Avatar for smmcfarl

I am having trouble with a program where I have to read in 40 numbers from a file and search them, 20 are successful searches and the other 20 are unsuccessful. I am supposed to show the number of comparisons it takes to find the numbers as well, this is …

0
80
Member Avatar for mc3330418

What is the easiest fastest way to see what's in these three arrays. I just want to see what 's in there to make sure my function is working correctly. [CODE] #include <iostream> #include <iomanip> #include <fstream> using namespace std; const int MAX_ITEMS = 50; int readData(string studentNames [], int …

Member Avatar for mazzica1
0
80
Member Avatar for MousehDragon

So I have 3 classes, matrix.h, matrix.cc, and shortestPath.cc shortestPath includes the .h file, which includes the matrix.cc file. In shortestPath I've tried to call a Get method I wrote in the matrix.cc file, but I can't figure out how to call the function on the object of that class. …

Member Avatar for mazzica1
0
300
Member Avatar for iGuardian

In this excersize you will write a program that reads in two positive intigers that are 20 or fewer digits in length and then outputs the sum of the two numbers. Your program will read in the digits as values of type char so that the number 1234 is read …

Member Avatar for WaltP
0
131
Member Avatar for mazdasa

actually I had a problem to reverse my string using stack.. can anyone help me? this is a sample of my code : [ICODE]#include<iostream> #include<stdlib.h> using namespace std; void push(); void display(); void pop(); struct words { char data [20]; struct words *next; }; words *head; main() { int i; …

Member Avatar for WaltP
0
252
Member Avatar for suiram

I have a text file which has data in it in the following format: string string char int double string Each field is separated by a tab character. The last string of every line contains multiple words. The file can have up to 50 lines (I am guessing if I …

Member Avatar for Clinton Portis
0
254
Member Avatar for UltimateKnight

Hi guys. What my problem is basically either some typo, or I am doing something extremelly wrong. Can't think of something else. After some time off with C++ I got back with it, creating the simple project to see how well my memory serves me. I am pretty sure that …

Member Avatar for UltimateKnight
0
98
Member Avatar for Thermalnuke

Im having problem with this code I made for finding the average rain fall. When the program starts. it is suppose to go through each month and you are able to input the rainfall. When the months show up in the CMD it is just a bunch of numbers and …

Member Avatar for Thermalnuke
0
142
Member Avatar for WhosThatGuy

Hello everyone, Ive been stuck with this little problem for quite some time and if someone could help id be much obliged. I have this code that contains an array with several numbers in put by the user and i don't want any of the numbers in the array to …

Member Avatar for WhosThatGuy
0
182
Member Avatar for JwhateverJ

I'm writing an application launcher program. The launcher will launch applications based on the files found in the working directory. (Example: a folder containing files with the extensions .docx, .xlsx, .sln, and .txt, would give the user the option to launch Word, Excel, Visual Studio and Notepad loading any of …

Member Avatar for cox44
0
917
Member Avatar for mrym

i've some code written as a dll in C++ in Visual Studio 2008. I've to be able to debug it. But i can't load dll in test exe. There isn't any problem on my test exe because when i try to load another dll there isn't any problem. Dll that …

Member Avatar for thines01
0
329
Member Avatar for bjigop
Member Avatar for seion

Practicing C++ and here is two of the practice problems I pulled from the FAQ And practice post. Just want feedback and issues with the way I wrote these. Simple Calculator [CODE] #include <iostream> #include <string> #include <sstream> #include <stdlib.h> using namespace std; int main(void) { //cout << string(50, '\n'); …

Member Avatar for Clinton Portis
0
152
Member Avatar for crystalll

how would I get this code to recognize a tie in the game? /* TicTacToe Game */ #include <iostream> #include <sstream> #include <string> namespace Games { class TicTacToe { public: TicTacToe(void); void Play(void); void Reset(void); private: char board[9]; char player; static int wins[24]; void displayBoard(void); bool getMove(void); void initializeBoard(void); void …

Member Avatar for Schol-R-LEA
0
607
Member Avatar for Desh2350

Hello All, I've put together this program for a rational class and it runs, but the problem is, it doesn't do what it's supposed to do. Any ideas? Thanks in advance. See ya on the flipside, Desh2350 [CODE]// This program will do arithmetic operations on two rational numbers entered from …

Member Avatar for Schol-R-LEA
0
4K
Member Avatar for mravignesh

Hi Sir, In VC++ 6.0 i have created button in the form which open as default after we created DIALOG BASED Application. If we click that button next form should load... For that what we have to do ..?? Kindly help sir.. thanks in advance

Member Avatar for Ancient Dragon
0
33
Member Avatar for apert

Hi guys, im sorry if my English very bad :) i got problem with this char str[] = "staff101"; i would like to split "staff" and "101" and cout them. im beginner in c++ hope you guys help me thank... any idea guys if c++ can generate pdf because im …

Member Avatar for Ancient Dragon
0
154
Member Avatar for learner guy

Hi ,help needed in bishop movement c++..the code is woking fine giving desired output most of time but there is one thing unintentional happening in the algorithm.. to understand the problem plz see the diagram (ignore the 'oo' and 'o' and consider them double and single spaces respectively, they are …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for omer620

Hello guyz how r u all i m new in programming can u help me plzz can u tell me that how to arrange array elements in ascending in descending order in C++ e.g suppose we have an array of 6 elements.. let elements are 65289...i want to arrange them …

Member Avatar for ppt123
0
233
Member Avatar for Vasthor

4-6. Rewrite the Student_info structure to calculate the grades immediately and store only the final grade. What I proceed:- I doubt that data structure can 'hold' function or expression, so I give a look on net to check out, it seems, the tutorial(on net) just show that structure used for …

Member Avatar for Schol-R-LEA
0
247
Member Avatar for Assassin7893

Guys, I've been stuck on this for a while now. This is actually one of my assignments, and I'm really lost. This is the assignment: ------------------------------------------------------------------------------------------- You manage a .txt file containing the customer ID number and account balance of the members of a bank. Last week, a computing error …

Member Avatar for Assassin7893
0
856
Member Avatar for t2ac32

Hi every one well i have this problem: Im creating a method for multiplying two different lists sorted in arrays example: MyList a [9,9,9,9] * MyList B[1,1,9] the problem is that i was told not to convert to a large int and then multiply like this 9999*9 +9999*1+9999*9 Since the …

Member Avatar for t2ac32
0
1K

The End.