Beginners - January 2013 (Page 24)

by Reaga
Help with a homework error (missing identifier)
We're supposed to create a Bank Account class, with a few public functions, and a main function. The main function is supposed to use an array (professor said 2...
Jan 20, 2013 at 12:01am
[2 replies] Last: That and moving the method above my main() method solved most problems... (by Reaga)
May someone help me with .cs file editing?
I have a few .cs files and I am still learning the basics and was trying to edit the file for a game I have and do not understand what some of the codes mean......
Jan 20, 2013 at 12:01am
[2 replies] Last: i thank you LowestOne that really did hlp with part that were hard to ... (by newkid93)
TEMPLATE FUNCTION swap
Tring to give new life to an old Asherons call game emulator, have trouble with the code below. // TEMPLATE FUNCTION swap template<class _Ty, size_t _Size> i...
Jan 19, 2013 at 11:37pm
[1 reply] : What's the problem? (by helios)
Function returning an address of (or pointer to?) an array of structures
Hello, I'm working on a C++ program (using gedit and g++ in Ubuntu12.04) that uses a function to fill an array of structures, and I'm trying to return the array...
Jan 19, 2013 at 11:29pm
[2 replies] Last: I figured it out by going it about it very differently. Before, I was... (by Taylor Holmes)
simplificating integer verification with an option of ctrl-z quit cin.eof
This was part of my homework problem. This is the code I ended up with that works for what was required, but wanted to know if there is a simpler way to do this...
Jan 19, 2013 at 10:00pm
[no replies]
First Steps in Win32
Hi, First of all, I wasn't sure weather to post here or in Windows Programming, As I'm a beginner with this. I have just started playing with the Win32 API, an...
Jan 19, 2013 at 9:29pm
[6 replies] Last: Thankyou for the reply. Any other Opinions? (by digitalwarfare)
Code::Blocks Source File Help
I'm reading an SDL Tutorial to learn to make games in C++. The tutorial had me download SDL and do a bunch of other stuff, which I did. However, now it is tel...
Jan 19, 2013 at 8:43pm
[1 reply] : I am not sure if this is what you wanted but for codeblocks you have t... (by khal)
Using double in C++
Hello everyone, Just started programming and am running into some hard times. I am reading my class book and doing video tutorials and searching forums but I...
Jan 19, 2013 at 8:38pm
[2 replies] Last: Wow thank you I get my mistake now! (by bondman)
std::map
Hi, all! I have declared a map, which includes an int value and a two-dimensional vector, also: std::map<int, vector < vector <int> > > mymap; I want to ...
Jan 19, 2013 at 8:22pm
[4 replies] Last: Thank you a lot, JLBorges! It works with your help! :) Have a nice eve... (by Defaul666)
How to output text in vertical lines in c++? Beginner.
I want to make a program that can read from a text file, then output what is in the text file in vertical lines. Example: The text in the file is horizont...
Jan 19, 2013 at 7:58pm
[5 replies] Last: Will do. Thanks again. (by Nybcodr)
Key corresponding
So here's my question. When writing a code like this: (code) if (ad != 13) (code) I know 13 corresponds to the enter key. So i would lik...
Jan 19, 2013 at 7:58pm
[2 replies] Last: Thanks. This was exactily what I was looking for. (by lockandstrike)
Stringstream Question
Hello. This isn't really a problem, but more so I'm confused why something happens. Basically, I'm making a program that will automatically factor any polyno...
Jan 19, 2013 at 4:39pm
[3 replies] Last: Oh, that makes a lot more sense now, Chervil. Thank you! (by ParkourPenguin)
by jaded7
allocation testing
Given a size, and a void*, is there a way to test if the pointed-to area is allocated?
Jan 19, 2013 at 4:07pm
[1 reply] : not a portable way, no. (by Disch)
SUDOKU SOLVER
hi to all I am a mechanic engineer and I had written a program to solving Sudoku, and if your sudoku have more than one answer,it will be show all nswers; Bu...
Jan 19, 2013 at 3:53pm
[4 replies] Last: What is your input method? Depending upon the method you might be try... (by Lowest0ne)
by Bog123
I don't know how to finish...give a lot of error's
I need to make a program to calculate a determinant of order n>1,and test if a square matrix with elements real numbers is invertible or not. I made some of th...
Jan 19, 2013 at 3:02pm
[2 replies] Last: The "wrong sort of quotes" suggests the code was edited using a word p... (by Chervil)
urgent graphics
#include<iostream.h> #include<graphics.h> #include<conio.h> main() { initgraph; clrscr(); int d,m; d=DETECT; initgraph(&d, &m," "); cleardevice(); l...
Jan 19, 2013 at 3:00pm
[2 replies] Last: I'm guessing that initgraph; should be initgraph(); ?... (by fafner)
Minesweeper game complete - would like advice on improving it
I was assigned to make a simple minesweeper game for Uni. I decided to go a little further than the criteria because of course that's how you get the good grade...
Jan 19, 2013 at 2:48pm
[no replies]
Storage binding for certain variables
let say I have a main function, inside the main function I have const int row = 5; const static int modulo = 100; int a2 = {0}; const int and const static...
Jan 19, 2013 at 2:45pm
[1 reply] : You may want to start by reading this link: http://en.cppreference.com... (by jlb)
Problem with Eclipse and make
I need to make an Eclipse project in C++ to read many small text files, store them in a big register file and read the text from the big file. My problem is th...
Jan 19, 2013 at 1:04pm
[2 replies] Last: Thank you toum! I can't believe, the problem was on my file and I was ... (by guerreiro)
by puakai
It doesn't get my line!
I wrote a program using the simple commands based on my brothers request. However, when I compile it, the program ignored one of my getline commands and proceed...
Jan 19, 2013 at 11:18am
[3 replies] Last: It's the mixing of cin >> with getline which causes the incompatib... (by Chervil)
January 2013 Pages: 1... 2223242526... 52
  Archived months: [dec2012] [feb2013]

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