Beginners - May 2013 (Page 13)

by Hvqc
Password script?
 
I just started c++ yesterday and I practiced making a code that lets you choose a username and then enter a password and confirm it but thats all there is to i...
[2 replies] Last: well I wasnt planning on using it for any actual login stuff, it was j... (by Hvqc)
storing arithmetic terms to double
 
hi guys, i'm a beginner and i'm trying to program a calculator that can handle multiple operations at once. i mean it should be able to calculate what 2/4+86...
[no replies]
Multiple files trouble
 
I have the beginning of a linked list class, it compiles when I have it all as one file, but separating it into multiple files gives me the error "error LNK2019...
[2 replies] Last: Here, i had the same problem and it was solved. http://www.cplusplu... (by Rechard3)
weird errors *very long post*
 
I'm following the tutorials by 3dbuzz and am on character class. so far everything has made sense. I did what they did, I think, and am getting some weird error...
[4 replies] Last: Character.cpp now reads #include "character.h" Character::Characte... (by CalvinCreator)
Reading string as integer
 
Hey I'm trying to read a string as an integer but want to check for failures. Instead of just accepting all of the numbers up to the "g" below, I would like ...
[no replies]
Need Help With Assignment
 
Hey Guys I need help with this school assignment.It is about Arrays mixed with functions.Basically I have no idea where to start and how it should be done. So p...
[7 replies] Last: Someone please help? (by Jinjaninja1)
by tqit
spiral matrix
 
Hi guys.I need to make a function that generates a spiral matrix but i have troubles with allocating it dynamically.. Here is my code #include<stdio.h> #inc...
[10 replies] Last: run your original with n=m=10. Should fail. (by keskiverto)
by myregm
error C2143
 
i've wrote a simple program: #include <iostream.h> int main() { float a; cout<<"a="; cin>>a "\n"; return 0; } But when I press ctrl+f5 to run i...
[2 replies] Last: for cin>>a "\n"; you don't need the "\n" in it. cin >> a; What are y... (by crimsonzero2)
Pointer To Pointers
 
I am reading Jumping into C++ and playing around with pointers to pointers on chapter 14. I decided to make a multiplication table to play around with and learn...
[2 replies] Last: Yes I'm aware I can do this much simpler or with no pointers at all bu... (by Fourc00h)
rand() not working
 
Hi, I'm trying to make a program that runs a weird version of poker. I'm trying to randomly assign cards to each player and community cards (the flop, river, an...
[1 reply] : add std::srand(std::time(0)); at the beginning of main() And #inclu... (by MiiNiPaa)
Trouble with Class and Vector.
 
Hello everyone: this is a class project, so I am looking for some guidance. The following program is supposed to print out a bank statement listing all depos...
[6 replies] Last: Thank you all, this was extremely helpful (by jmazorra)
mutiplication table using functions
 
hello guys::: how to print a multiplication table of 2,3 ,4 or any table using functions in c++.. ??? Can anybody solve this please.... Remember using "Fu...
[1 reply] : How? By trying. Can anyone? Yes but does not mean we will. (by giblit)
Microsoft's 2010, vector, multi-file.
 
hey... i wrote a program in visual studio 2010, when using vector in multi-file program a problem occurs. i made the program in one piece though and it worked l...
[5 replies] Last: no, the post is not a joke, i just wanted to give the reader something... (by Rechard3)
Priority Queue out of bounds
 
I have a priority queue being used to store my bid objects for an item (class requirement). For some reason, I'm getting an error that says expression: vector ...
[1 reply] : Nevermind, I just found it. Forgot to check if the priority queue was... (by catdance)
Meaning of expressions like"%d" in c++
 
What is the meaning of expressions like "%d", "%c","%s" in C++ For example, what does the "%d" in the following code fragment stand for? #include <stdi...
[2 replies] Last: I typically don't like using %d, but it is used for a placeholder of a... (by dunnmifflsys)
Mingw32 run time error
 
Hello! I'm using notepad++ and mingw and when I ran an .exe I compiled I get a system error "The program can't start because libgcc_s_dw2.dll is missing from yo...
[1 reply] : Ah, I am a total fool. I figured it out now, I looked it up and I'm su... (by Xhalite)
by kato
Posting vs XML
 
Hello, I was wondering which method is most suitable for sending data to php files on remote servers; is it posting with Curl or using XML ? Thanks in Ad...
[no replies]
C++
 
I HAVE THIS COURSE WORK TO BE COMPLETED IN A FEW DAYS PLZ HELP!!!! You and your partner are IT consultants. You have been hired by a company/institution to w...
[8 replies] Last: anyone plz!!!! (by bibby6522)
converting the loop
 
please check my answer ???>> Convert the following loop to a while loop without using any break statement. #include <iostream> using namespace std; int main...
[1 reply] : while ((k<10) && (sum <= 10*k)) (by vlad from moscow)
problem with comparing two elemnets
 
Hi, i have a problem comparing two elments, i need to check if the elemenet i want to add to my list is already exist. I'd be glad you can help me. comparing...
[3 replies] Last: The same as your function checkExistance but does it correctly and cle... (by vlad from moscow)
May 2013 Pages: 1... 1112131415... 66
  Archived months: [apr2013] [jun2013]

This is an archived page. To post a new message, go to the current page.