Beginners - September 2012 (Page 15)

by mattan
Help. Microsoft Visual c++ 2010.
 
I'm using Microsoft visual c++ 2010 express and when I try to run this code: int tal1 = 50; int svar = 0; String^ kebab; kebab = Syst...
[1 reply] : I'd say the errors are pretty clear in themselves. the output is an ... (by soranz)
Insertion sort
 
void InsertionSorting( int numberarray , int numberOfsize ){ int temp , j ; numberarray[ 0 ] = 8; for( int i = 1 ; i <= numberOfsize ; i++ ){ ...
[5 replies] Last: Sry i went to sleep :p InsertionSorting( numbers , 12 ); cout << "\... (by soranz)
Converting int to char in for loop?
 
So I'm struggling with a game that I made in class, its call the Game of Nim. Anyway, there are a number of objects in the game. What I'm struggling with is how...
[4 replies] Last: Thank you for the help! (by noylekul)
Average with unknown amount of input
 
I have an assignment for class that I can't get started on. I can't find anything similar on the web. "In this part you will write a program that reads a sp...
[7 replies] Last: You're both right. What was I thinking? No array is needed. (Back t... (by doug4)
by ezis15
C++ (show biggest number)
 
Hello guys, i'm new at this forum, and i am counting on your help. I got a homework to do. So the problem is, i must create C++ function (or dont know how...
[2 replies] Last: Thanks for your help Doug. Problem solved. (by ezis15)
by Triea
Video tutorials
 
Could anyone suggest some good video tutorials for C++? I can't really understand what my teacher is trying to teach us and I would like another source for info...
[1 reply] : There's no such thing as a " good " video tutorial, only questionable ... (by closed account zb0S216C)
Amazon interview program
 
What i wanted to do is suppose that we have to provide input number n to the program and it will gives us total number of occurrence / total number of ways. ...
[2 replies] Last: See: http://en.wikipedia.org/wiki/Partition_(number_theory) (by JLBorges)
can pls anyone tell me why this program doesn't work?
 
#include <iostream> #include <stdlib.h> using namespace std; void printnum ( int begin); int main() { printnum (0) ; system("PAUSE")...
[3 replies] Last: All I know is that system("pause"); may/will give some kind of probl... (by Latrakx)
int to float back to in
 
I swear this has worked for me before, and I can't believe I am having so much trouble with this. int middlespacing=floor((position[n - count +1] - posit...
[3 replies] Last: sure, I actually just figured it out but here you go n=5 count=2 p... (by Dan Feerst)
convert string to int array?
 
Hi, I'm grabbing an 8 bit integer from a file using an ifstream object and assigning it to a string. Example, I'm grabbing 10101010 from a file and assigning...
[7 replies] Last: @enosmac error C2039: 'transfer' : is not a member of 'std' is the ... (by vlad from moscow)
Finding the greatest common factor and least common multiple of two numbers
 
Hey, I am currently trying to write a program for school that calculates the greatest common factor of two positive integers. I am having the most trouble findi...
[4 replies] Last: Okay, I have found out how to check both numbers as you enter them, an... (by zand3r96)
structure get from textfile
 
struct Stock{ string stockTag; double currentValue; double numberOfshares; } my txt file GOOG:390: ADBE:192: INFY:167:899921: AAPL:155: ...
[3 replies] Last: I have not understood your questions. I took one record from your text... (by vlad from moscow)
Guess the number?
 
please anyone can help me to fix the program for playing guess number, because my program have a something problem that i don't know how to solve it. The Ques...
[5 replies] Last: I also should point out that if you were to run the example code that... (by TheJJJunk)
help with loop
 
can someone help me with loop dunno which one to use and how to start. i basically want this program to loop the "enter money" part if the "else" is true also ...
[1 reply] : nevermind, got it to work do{ cout<<"enter money "; cin>>money; cha... (by sabian21)
Program Recommendations for a Noob?
 
Anyone on here got any ideas for fun programs I can practice building to help me learn C++ classes pointers objects inheritance and what not? Or just any intere...
[1 reply] : One of the earliest programs I made was to calculate an amortization s... (by newbieg)
Return Multiple Values From Function..
 
Basically I want two returns from this function to the caller. Scenario is: The functions takes two inputs and returns addition of those 2 numbers and subtracti...
[4 replies] Last: Thanks, Have managed to do it now: #include <iostream> #include <str... (by Swadesh)
Need Advice with Calculations
 
Hey everyone. Last time I posted on here I got some very helpful advice and was able to finish my program :). Hopefully it'll happen again. I'm basically ...
[10 replies] Last: @soranz Oh ya lol.. Got it; thank you! (by Momojams)
employmeent rate survey report
 
i need advise on implementing a program on c++. The program should ask the user his name, then prompts a message 'good day + name then as the user his age in y...
[3 replies] Last: #include <iostream> //brackets <'header.h'> #include <string> //u'... (by soranz)
credit card number check
 
Im not sure if this would completely qualify as a beginners type question, but this is the first course ive taken of this kind so here i am..here's the assignme...
[1 reply] : get the input as char array (not int) get input length and store it ... (by tntxtnt)
by fluppe
A short question on Pointers as members
 
Hello, here's my next question.... (and it isn't about semicolons). Is it possible to define a class with pointers as members and a constructor called with ...
[6 replies] Last: Well, that was a lot..... @clanmjc & vlad: I'm going to look up th... (by fluppe)
September 2012 Pages: 1... 1314151617... 62
  Archived months: [aug2012] [oct2012]

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