
please wait
by Irish RayRay
Rand options
|
Hi, I have 3 logos like the one below all with different designs and I was wondering if there was a way that I can have a random function that calls one of t... |
May 16, 2012 at 1:25pm
[1 reply] : Nevermind I figured it out. :D (by Irish RayRay)
|
by yungwhizz
(multiplecationTable)
|
Write a program (multiplicationTable.cpp) that takes an integer n as input and output the multiplication table of n into a file. Your output file should look f... |
May 16, 2012 at 1:17pm
[2 replies] Last: o.O 1 X 4 = 4 2 X 4 = 4 3 X 4 = 4 ... 10 X 4 = 4 -.-*... (by shadow123)
|
by yungwhizz
error
|
if you get an error that says ( multiple definition of `main' first defined here ld r... |
May 16, 2012 at 1:07pm
[4 replies] Last: no, i used int main() once. "Used"? Can you give the source code? ... (by Catfish)
|
by yungwhizz
plz help if u can (Multiplication Table)
|
Hi, can someone help me to write a MULTIPLICATION TABLE program, where u input a number and get a multiplication table of that number. |
May 16, 2012 at 12:51pm
[3 replies] Last: Yes it should. And what does your code produce? (by whitenite1)
|
by Jen
Returning a local char array ?
|
In this code there are four functions. One main-function, and three sub functions returning a char array. The function GetByte3 is invalid because it returns a ... |
May 16, 2012 at 12:45pm
[9 replies] Last: You can use the static keyword to have some fun without fear. A stat... (by Catfish)
|
by agnibho
Simple C++ program for the 21 game
|
The game "21" is played as a misère game with any number of players who take turns saying a number. The first player says "1" and each player in turn increases... |
May 16, 2012 at 11:29am
[no replies]
|
by benbehr
int vs unsigned int
|
With the following code I get a warning that I am comparing signed and unsigned int. vector<float> test ; for (int i=0; i<test.size(); i++){...} O... |
May 16, 2012 at 11:26am
[9 replies] Last: Blessing, mostly. It has many usability improvements, like the special... (by Catfish)
|
A Function that gives two vector and a file as output |
Dear guys, I have written the following function. In my mind, this function reads in a .txt file, then gives out another .txt file, and at the same time crea... |
May 16, 2012 at 10:51am
[4 replies] Last: The simple_moving_average() is fine as long as periods is within t... (by coder777)
|
why isnt this working? |
I seem to get this problem sometimes when working with variables, im creating a program to translate Fahrenheit to centigrade and the only value that returns ... |
May 16, 2012 at 10:02am
[8 replies] Last: hmm, okay. well thanks for the info=] that's gonna make things so much... (by pceluevmapthy)
|
by Ch1156
what does this mean?
|
I have some code, if youve helped me recently you may recognize it. #include <iostream> #include <ctime> #include <random> #include <string> using n... |
May 16, 2012 at 9:42am
[2 replies] Last: http://www.programminggeeksinchrysalis.blogspot.de/2012/04/introductio... (by SirSmilesaLot)
|
by skgbafa
Database for C++
|
Hello, I am working a program in C++ that I would like to use to enter information, and I would like some help in creating a database to keep this information. ... |
May 16, 2012 at 7:56am
[2 replies] Last: An excel file would probably be best, because the data will be entered... (by skgbafa)
|
by Grax
Data Structure, Queue and Link List
|
I wonder that can a queue containing data of link list type? I mean each data that store inside a queue is link-list type... Is that possible if I want to make ... |
May 16, 2012 at 7:25am
[2 replies] Last: if i want to create them manually, will this works? struct node { ... (by Grax)
|
by MJP4110
push back only part of vector
|
If I have a vector of class vector<constructor> name; The constructor consists of some number of elements constructor(string a, string b, string c, stri... |
May 16, 2012 at 6:27am
[5 replies] Last: I did some re-arranging and changed a few things and got it all set an... (by MJP4110)
|
by Ch1156
Update time on screen
|
I have some code and i want to be able to update the time it displays so it looks like the clock is ticking without having to quit and run the program again. Al... |
May 16, 2012 at 4:03am
[13 replies] Last: ok awesome, thanks for all the help guys. (by Ch1156)
|
by john924xps
Text cases
|
How do you use text in cases? Observe the following code snippet. cin >> spam; switch (spam) { case nothing: cout << "Screw you"; break; } ... |
May 16, 2012 at 3:55am
[7 replies] Last: Thanks for the help, all of you! Appreciate it! Here: Have a cookie. (by john924xps)
|
by toomanystars
Class within a Class
|
Hi guys, Need a little help, here's the code... #include "stdafx.h" #include <iostream> #include <conio.h> #include <iomanip> using namespace std; ... |
May 16, 2012 at 3:33am
[9 replies] Last: You are trying to access private members of the class from outside of ... (by naraku9333)
|
by c00per
function pointer problem
|
Hello there, I've study C++ for a while now and encountered this problem when I was doing my exercises. Basically I have class Data like so class Data ... |
May 16, 2012 at 2:19am
[2 replies] Last: double* Data::getX() { return x; } Thank you very much, tha... (by c00per)
|
by tripline
Teach me how to use char array and pointers C++
|
I am trying to get the user to enter a sentence, then I change that sentence to say hi. My error - arguement char not compataible with paramater char If you se... |
May 16, 2012 at 2:15am
[9 replies] Last: Don't mess with all the character arrays. You have #included <string>,... (by Duthomhas)
|
by LeetroyJnkns
MineCraft Robot program
|
Hello. I am aware that MineCraft is written in Java, but I want to write a C++11 program that will direct "robots" to mine, cut wood, and do other robota that I... |
May 16, 2012 at 12:19am
[no replies]
|
by Cheddar
Arrays of Odd & Even Numbers - Numbers Getting Mixed Up
|
Hi, so I am having a bit of a problem, but I don't know if it's my code or my compiler that's the issue. My assignment is to ask the user to input integers, whi... |
May 15, 2012 at 11:21pm
[11 replies] Last: Oh wow. I feel dumb. >_> It works perfectly now. Thank you very much. ... (by Cheddar)
|