Beginners - April 2013 (Page 61)

header
 
#include <iostream> #i
[3 replies] Last: so I'm not sure if it's supported in xcode. Yes using the #ifndef i... (by jlb)
Implementing relational operators to order objects
 
All, I got stuck with a homework assignment. I have a Circle class and 2 Circle objects (one of them has its values changed, but that doesn't really matter)....
[2 replies] Last: Thanks! Here is my final code: // Circle.h #ifndef CIRCLE_H #define... (by anderfernandes)
Function Help
 
Hi Everyone, I've been working on my assignment for a few hours now but I'm a little lost on step 3 and 4. I really want to understand this better so I'd reall...
[3 replies] Last: Capture the logic needed for 3 in its own function. That way you can r... (by booradley60)
by pinko
Dealing with date
 
Hi dudes! i am working on a library system. If issue date is current date, the due date will be the date after 14 days of current date. i am unable to make ...
[2 replies] Last: http://www.boost.org/doc/libs/1_53_0/doc/html/date_time.html (by eklavya sharma 2)
by sumsar
compare values in a array
 
I making a program where 10 person input a number and then it output who has the highest number and what the number is. so far i made this #include<iost...
[6 replies] Last: okay i found a way thanks for the help :D (by sumsar)
by NRoth
C++ Tic Tac Toe help?
 
Hi! I am in a High School C++ programming class right now, and I'm stuck. We made a Tic Tac Toe game (as shown below) that needs two players..I would like to ch...
[1 reply] : http://www.cplusplus.com/articles/jEywvCM9/ Read this before anything. (by closed account N36fSL3A)
by Reigos
Splitting Strings.
 
Hey im trying to read a .obj file in openGL and I have no idea how to take the / out of the the faces. here is the code im using #include <windows.h> #...
[4 replies] Last: Hello Guys my name is Mark.According to that topic i think that the Op... (by markspend1)
A problem about array
 
This is the code, but after i run it, nothing comes out, what's wrong with it? #include <iostream> using namespace std; void delete_repeats(char a ,int&...
[6 replies] Last: So use arrays, but to statically allocate an array the size must be ... (by jlb)
by suraya
error in functon definition or declaration; function not called
 
hey guys, i wrote this code and i have an error that i really couldnt understand i think it is in line 16 in bin.cpp here is the code : this is the header v...
[6 replies] Last: thanks :) i think i found out what i want. as for the braces i'll make... (by suraya)
Designing a C++ class with overloading operators - help!
 
Hi all, I have a C++ exam on monday and I would appreciate some help. I'm currently going through some past papers and I need help on this question: Desi...
[2 replies] Last: When you do define a default constructor like in this case the compil... (by jlb)
trying to save
 
All right i cleaned my program up a little I'm trying make a database and flowing the directions to write to text file and its not writing don't know why ...
[1 reply] : Sorry everyone its working was looking in the directory (by Tiger32)
by Pebble
Condition
 
I'm writing a TicTacToe exercise, And i've narrowed it down to a condition that alway's read's false. I think the problem is in line 66. #include <iostr...
[2 replies] Last: Thank's a bunch booradley60. I was writing several part's of the progr... (by Pebble)
HELP: open exe script
 
Hello guys. I'm trying to make a script in Visual Studio 2010 for instantly open an exe file when i press a button. Please teach me how to do that and that exe ...
[1 reply] : http://msdn.microsoft.com/en-us/library/windows/desktop/bb762153%28v=v... (by MiiNiPaa)
Help: Value in between
 
I want to make a value in between. I have this problem during my program. E.G: If value is between 200-299, increment group1 If value is between 300-39...
[4 replies] Last: In addition to what Vlad's saying: if (e >= 200 || e < 300) ++g... (by cire)
Why doesn't my program work? Help appreciated
 
What this program is basically supposed to do is get a name, student ID and varying amount of grades. The thing is, grades keep getting messed up on the output....
[8 replies] Last: Ah thank you! Yes I had not done the operator= correctly. Now it works... (by Tiger58)
Character Arrays Subscripting (1,2)
 
char MyString::strcomp(char string1,char string2) // Compare using Array subscripting { for( int i=0;string1 ="\0";i++) cout<<string1 ; } Here'...
[22 replies] Last: ok, my bad for misinteterpreting at the time. And I get what you're sa... (by zero117)
by meroo
need help with this code
 
am trying to write code linking with ac circuit to read : 𝑍=𝑅=(𝑋𝑙+𝑋𝑐)𝑗 whereas 𝑋𝑙=2𝜋𝑓𝑙 𝑋𝑐=12𝜋𝑓𝑐 𝑤...
[2 replies] Last: It looks like things could be simplified. I would expect the user to i... (by Chervil)
I don't understand why
 
I'm a newbie in C++ and I just learned about array. I'm testing of how to make it add/sub/multiply/divide with each array after inputting a value in it. I want...
[4 replies] Last: Thanks. My programme work the way I wanted to. :) (by Angry Food)
Separate player controls - playerArray HELP!
 
Ok so I'm fairly new to C++ and i have a project to make a tank game with 2 players controlling tanks, I've made two boxes for the tanks and set up my controls ...
[2 replies] Last: Ah i've changed to glut and redone the whole thing, works now. I wasn'... (by ROBYER1)
by SlatA
Capitalize String
 
I was wondering what were different ways to capitalize a string. This is one way I did it. void capitalize(char letters ){ // function prototype //char le...
[3 replies] Last: There's also a to_upper for strings in boost, if you want a shortcut ... (by Cubbi)
April 2013 Pages: 1... 5960616263... 83
  Archived months: [mar2013] [may2013]

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