Beginners - February 2013 (Page 25)

Tic Tac Toe
Hello, Im writing this program for my CIS 251 class and cant figure out why it keeps crashing when i input the x's and o's. my teacher wants us to input it all ...
Feb 19, 2013 at 11:56pm
[2 replies] Last: Wow thank you! Now i just have to figure out why it wont print the win... (by closed account z8q4izwU)
by J Mac
Reading txt into 2D Array
My assignment for class is to create a program like Life. In the program, we have to read a txt file into a 2D array that acts as the map for the game. The txt ...
Feb 19, 2013 at 11:49pm
[no replies]
nested switch statement
OK having trouble with my nested switch statement. Here is the first part “Wake Tech Healthcare” wants a computer system to direct incoming phone calls. ...
Feb 19, 2013 at 11:46pm
[5 replies] Last: Glad you got it to work but that's not the issue. Indentation is only... (by MrHutch)
Help with Functions program
I'm having trouble with an assignment for my online class, and I'd really appreciate your help. If you guys could just get me on the right track, that would be ...
Feb 19, 2013 at 11:20pm
[2 replies] Last: Give us some direction as to what you need Johnson. // Meanwhile i... (by mezmiro)
Problems with a string changing value
I am trying to make tic tac toe for practice making functions and using random i have the following program (please excuse the length of it) #include <iostre...
Feb 19, 2013 at 11:13pm
[no replies]
Division
So the user inserts two numbers. I need a code that shows the smallest number that can divide both the inserted numbers.
Feb 19, 2013 at 11:11pm
[2 replies] Last: I need a code that shows the smallest number that can divide both the... (by Chervil)
Program no compile.
Hello: I´m trying programming c with dev-c++ 4.9.9.2 in w7. When I compile the "hello world" I receive this message. code: #include <stdio.h> int main()...
Feb 19, 2013 at 10:37pm
[6 replies] Last: Version 4.9.9.2 is pretty antiquated (February 2005). I'd suggest uni... (by Chervil)
Natural Gas Billing Rate (undeclared Identifiers)
Hi I have to write a program that takes 2 inputs to indicate the amount of gas used and then calculate how much that amount of gas would cost according to the c...
Feb 19, 2013 at 9:34pm
[3 replies] Last: You're welcome. If you have any other questions, don't hesitate to ask... (by mezmiro)
Singly Linked List Delete Function Error
Hii guyz.. There's a problem with this code, it just crashes.. this function is supposed to get a word from the user as a parameter and delete every node that ...
Feb 19, 2013 at 8:02pm
[3 replies] Last: -Yeah.. I noticed that.. nd tried to break but same problem occurs :s-... (by ShiekhAlTribe)
Copy constructor problem
Hi all, I'm writing a program that makes a class Array. It creates an array of objects of any type - whether it be an array of ints, doubles, strings or char...
Feb 19, 2013 at 7:45pm
[1 reply] : Your shall specify the parameter list in the function definition Arra... (by vlad from moscow)
by Durden
Need Help with Final step in Payroll program
Ok so i am almost done with the program except now i only need to add the sum of the gross pay for all the employees how would i be able to do that ? thanks ...
Feb 19, 2013 at 6:52pm
[7 replies] Last: any time.. you r welcome.. :) (by mirec)
by lummel
Need help - No Rounding by writing
Hey, i have a problem. A Short overview over my programm: 1.I load mess values from different files 2.I compare & modify them 3.I want to write all into one ...
Feb 19, 2013 at 6:29pm
[no replies]
Weird output from file
I am trying to write a program that reads a text file like this: Jacob Lee Krill 10 13 20 12 15 9 5 18 20 18 Acob Lee Lane 11 12 20 12 15 9 5 18 20 18 ...
Feb 19, 2013 at 6:03pm
[2 replies] Last: Oh *facepalm* duh. And about not using extraction operators, the middl... (by JacobA5)
by xii
case statement
Having trouble using case statements in the following program #include <iostream> #include <iomanip> using namespace std; int main () { const float LASER...
Feb 19, 2013 at 5:36pm
[4 replies] Last: Thanks worked great Lynx and Abstract (by xii)
Need help with this source code!
This is the problem: This is my code: #include <iostream> using namespace std; int main() { //declaration int months; double amount_needed,face...
Feb 19, 2013 at 5:36pm
[5 replies] Last: Already did it. The program run but i think i have a logic error. (by lucratico15)
Access Violation - class variable.
So, about 2 hours ago I had working code. I have a class, and I was creating shapes and storing them in a vector. But I have since changed my code and can'...
Feb 19, 2013 at 5:21pm
[9 replies] Last: Thank you!!! Very much appreciated. I forgot to mention, I actually h... (by Lynx876)
C-like pointer casting
Hello, I am trying to understand some GSL routines and I have a hard time figuring out what the following line of code does void* p struct powell_para...
Feb 19, 2013 at 5:09pm
[3 replies] Last: There are several error in the GSL documentation. I compiled this with... (by littleneutrino)
just a question about the list.pop_front function
Hello everyone. For a project i have to store several objects on a list<myType*> I was just wondering if the member function list.pop_front will just remove...
Feb 19, 2013 at 3:50pm
[3 replies] Last: If your compiler supports it, you can use smart pointers like std::uni... (by Disch)
std::map's evil operator[]
Let me know what it prints for you, and using what compiler. MinGW 4.7.2: #include <iostream> #include <map> int main() { std::map<int, int> disc...
Feb 19, 2013 at 3:48pm
[2 replies] Last: discord and discord.size() are indeterminately sequenced, aren't ... (by JLBorges)
Graph on Console
Thanks.
Feb 19, 2013 at 3:14pm
[3 replies] Last: Do a google search of modular programming. I'm not too familiar with ... (by Lowest0ne)
February 2013 Pages: 1... 2324252627... 67
  Archived months: [jan2013] [mar2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.