
please wait
by epi975
Changing the colour of a single char in a 2D array
|
Hello, I have a 2D array of chars that has a char (@) that I wish to change the colour of that individual char. I came up with some code that I think should ha... |
May 23, 2013 at 12:37am
[3 replies] Last: Btw you should put the "Map" inside the main function globals aren't t... (by giblit)
|
by manudude03
Program hangs on function call
|
Hi guys. First post here :). I decided to give C++ a try a few days ago, dive in and just see how it went. I managed to get through ok with the help of the cpp ... |
May 22, 2013 at 11:38pm
[2 replies] Last: D'oh, just found where my problem was: lines 57/58: this->CharStrengt... (by manudude03)
|
by Rougeace4
using namespace std; OR std::
|
Which is correct? Which one is better/worse? whats wrong with each? #include <iostream> using namespace std; int main() { cout << "Hello world... |
May 22, 2013 at 11:21pm
[5 replies] Last: As giblit has already said, using using namespace std; at global sco... (by andywestken)
|
by aerialist84
Problem
|
Hey guys ;) Ive written a programm but it doesn't work... What's wrong? it was supposed to sort numebers. #include<iostream> #include<fstream> #includ... |
May 22, 2013 at 11:20pm
[3 replies] Last: Thank you Ispil! I'll try ;) (by aerialist84)
|
by bruntmjust
commad line arguments
|
How do I get my program that finds the max product of the 20 by 20 array by using a command line function such as -row 20 -column 20 and it print the product of... |
May 22, 2013 at 10:36pm
[2 replies] Last: I kind of understand the argc and argv arguments but the only problem ... (by bruntmjust)
|
by idealcat
cannot appear in a constant expression?
|
This code is really incomplete but I'm trying to work out what's going on to fix errors before I move on. Sorry it's so long. My teacher gave us two chunks of ... |
May 22, 2013 at 10:30pm
[4 replies] Last: @ Cubbi thank you, I think I understand now. And now I see what you me... (by idealcat)
|
by SmOgER
Code not working properly, condition is being ignored, no errors.
|
No matter how hard I try, I can not find anything wrong with this code, lol. Thanks in advance. #include <iostream> #include <fstream> #include <... |
May 22, 2013 at 8:11pm
[4 replies] Last: The code as posted in the original post works fine for me with the dat... (by cire)
|
by Megakoresh
How to add a timer loop break command that the user can input?
|
Hi! Me again, I have a feeling I will be posting here frequently now, I hope it's not too cumbersome. I am now learning to create functions and I made a simple... |
May 22, 2013 at 8:05pm
[13 replies] Last: Alrighty then, works now! Thanks for walking me though this, I can't i... (by Megakoresh)
|
by Trinal
Custom Cipher Language
|
I created a cipher type language a few days back along the lines of:a=o, b=d, c=v, ect. This "language" also has rules like "if a word ends with "k", it becomes... |
May 22, 2013 at 7:45pm
[2 replies] Last: The " if word ends with " rules require separate treatment though.... (by keskiverto)
|
by Edward01
illegal use of non static funcion
|
i'm getting an error which states i have an illegal use of non static funcion? what's the problem, with my code? H file #ifndef Number_h #define Number_... |
May 22, 2013 at 5:41pm
[5 replies] Last: It recognise Int::printNumber() all right. It is Number::printNumber()... (by Peter87)
|
by aerialist84
Apples
|
Hello, I've just started my adventure with c++. I found a task: get weight of 10 apples form keyboard and sort it high to low. I did it, but I've got no idea wh... |
May 22, 2013 at 4:40pm
[4 replies] Last: There is a function in algorithm called std::sort you could use with a... (by giblit)
|
by Edward01
#include h files
|
hi, guys i have a problem. I am doing my homework and came a cross a problem. I have two include files which call each other, and the program doesn't work. is ... |
May 22, 2013 at 3:59pm
[2 replies] Last: Circular dependency is the problem. Forward declarations are the solut... (by Catfish4)
|
by mohsen12
crash in program
|
Hi everybody this my code for submitting student info and searching them by id number. no compile error and warning just crash Enter data work correctly b... |
May 22, 2013 at 3:25pm
[1 reply] : float grade ;//Declaration of float array //consisting... (by MiiNiPaa)
|
by mehdiordi
Designing a visual stimulation task in C++!
|
Dear all, I am new to C++ and for some reason I had to switch from Matlab to C++. Hope that I can get some useful hint for this question. I am trying to design... |
May 22, 2013 at 3:21pm
[1 reply] : Use some graphics lib like SFML or SDL. It will seriously ease your li... (by MiiNiPaa)
|
by KEND0
help pls...
|
Write your question here. #include <iostream> #include <cmath> using namespace std; void loadinput(); void printgrid(); bool checkrow(int row, int co... |
May 22, 2013 at 3:19pm
[1 reply] : grid is two dimensional array (look at it as a table) of Playinggrid t... (by MiiNiPaa)
|
by Focus
Interacting with websites
|
If i would like to use data from a website and handle it in a program, what do i need to learn and where can i find a good tutorials for it? |
May 22, 2013 at 3:14pm
[2 replies] Last: Thank you! (by Focus)
|
Creating a function, Blackjack |
I have some errors with my code, but I would like help with creating a function to tell me if the dealer or the player has busted. Help Please!! #incl... |
May 22, 2013 at 2:50pm
[1 reply] : What help? You write a function. Pass necessary data as parameters, re... (by keskiverto)
|
by AndroidZ
libstdc++-6.dll not found
|
"The application has failed to start because libstdc++-6.dll was not found" is an error I run into when trying to run the program found here: http://pastebin.co... |
May 22, 2013 at 2:33pm
[10 replies] Last: @Catfish4: VS10 only supports XP SP3 onwards. VS11 should be from XPSP... (by S G H)
|
Resizing a Vector of Vectors |
I'm trying to figure out how to resize a vector of vectors based upon the user's input. I'm making a method called setGrid which should take in the # of rows an... |
May 22, 2013 at 2:31pm
[16 replies] Last: Oh, well, I meant VS10... Good to point things out anyways. (by S G H)
|
by MariusW
Adding "continue Y/N" in a loop
|
Hello guys! New guy coming right up! :) Just atarted learning C and I am experimenting with a simple "calculator"-program. Now I want to add a question at the... |
May 22, 2013 at 2:14pm
[4 replies] Last: on line 17: you forgot something at the end of the line the scanf() ... (by coder777)
|