Beginners - June 2012 (Page 12)

it keeps asking the question forever
 
#include <iostream> #include <stdio.h> #include <string> using namespace std; int main() { char correct; do { string name; ...
[4 replies] Last: I recommend you fix the first problem before trying to turn the do-whi... (by Peter87)
by waxiz
XML?
 
hi. I have started my own project, to develope a small Stock trading bot. Mostly for the learning of doing it, but since i trade manually now i am not shy to l...
[no replies]
by beakie
Structure issue... mixed types are not supported (error C4368)
 
I am getting the following error... error C4368: cannot define 'test' as a member of managed 'ServoController::ServoState': mixed types are not supported ...
[1 reply] : I think this might be down to the fact I created my dll project as CLI... (by beakie)
Chess
 
Hey Guys, I am writing a program for a chess game. I created classes for Game, Board and Piece, and derived classes under base class Piece for the different pi...
[5 replies] Last: Ok thanks, got it (by tejas1995)
understanding larger function
 
I typed some code dealing with the "larger function" straight from a c++ book into my compiler to try and decode it to understand it better. But, the compiler k...
[2 replies] Last: Thanks fg109. Alright I understand that a little. I didn't realize "la... (by dtaqee88)
Search for a Value within a 2-D Array
 
Hey guys, love the forum so far and learning a lot. I'm taking some new computer science classes trying to get a handle on programming in C++ with Visual Basic ...
[5 replies] Last: At a certain point you're going to have to understand the way the refe... (by Lowest0ne)
Linking static library in Netbeans
 
Okay so I have a static library I have made written in plain C. I made a test project to try and use the library. I added the library .a file to the linker se...
[1 reply] : Update: Never mind all, all I had to do was close and open the projec... (by evanc9606)
Repeating virtual keyword
 
Hi! Thanks for all the great help you give here! My question is if I make a class which inherits from an abstract class some function class example ...
[7 replies] Last: The keyword virtual has no any symantic sense for derived classes. (by vlad from moscow)
String stream in money class
 
Hi guys, Need a little help again. I built a money class, tested all the functions, and everything works as it should. However, I don't have a full unde...
[5 replies] Last: Hi, Sorry for the belated reply knuth, but it's been a hectic week. I... (by toomanystars)
Unscramble words program- output image and score not as parameter
 
I've been trying for 2 days but I can't think of an answer. If you can spot the problems in my code, i'd appreciate it loads. I'm trying to a code that tells yo...
[2 replies] Last: Hi chriswsy, My first point is to put the code inside the braces afte... (by TheIdeasMan)
recipies
 
I'm trying to make a small cook book for myself, and I'm using a switch case, but I want the selection options to go away when the recipe comes up. #include...
[5 replies] Last: @TheIdeasMan That won't work either... Do you mean the clear scree... (by TheIdeasMan)
by SGM3
Calculator
 
I would like to have two keys that can be activated at any time in the program. One to clear and reset and one to exit the program. I also am having problems...
[13 replies] Last: Well, your program is a C program really. The only C++ parts of are co... (by TheIdeasMan)
What are these error messages?
 
So I'm a beginner in Windows programming, All I've gotten to at the moment is opening an empty window with WINAPI. I was just wondering what these error message...
[2 replies] Last: Hi newbieg, Can you post your code and compiler output? TheIdeasMan (by TheIdeasMan)
by skarla
help.
 
#include <iostream> #include <windows.h> #include <fstream> using namespace std; class everything { public: int numbers(); int numbers1(); int let...
[14 replies] Last: http://translate.google.com/ int main() { ofstream myfile; ... (by Mathhead200)
by xdcx
increasing array size with 'new'
 
hello I'm using new / delete to have a dynamic array size as the 'backpack'. Basically I'm creating my own vector(which you can have dynamic sizes, etc) here i...
[8 replies] Last: thanks for the help. I was able to get it working 'perfectly', if anyo... (by xdcx)
by myoni
cout 2 dimensions char array using void *
 
Hi I'm trying to print the words in the array using void*, but I get only the first word , and the rest is *&^&*&^, what is the problem ? this is print functi...
[8 replies] Last: thank you very helpful, now Iv'e a problem with bubble sort, I need ... (by myoni)
Increasing the size of a pointer array.
 
Hello, I'm a beginner in a second level class doing an assignment about a bank account. I have to write a virtual function that prints a statement as a list of ...
[6 replies] Last: I don't quite understand this: loop2 <= statementSize - 2 . Why minu... (by Lowest0ne)
by macs
to count no. of a particular word in aline
 
#include <iostream> #include <string> using namespace std; // Write a function to display a count of the number // of times the word "duck" appears in...
[9 replies] Last: As I can guess it is not your code becuase the first code you demonstr... (by vlad from moscow)
by digrev
my first program
 
hi could you please say what is wrong or missing witth this code .why is area always 0 #include <iostream> #include<conio.h> #include<stdio.h> using name...
[6 replies] Last: thanks a lot friends i was trying to understand reference thing .is it... (by digrev)
Program responce & strings *HELP*
 
Hi, Im new to C++ and Im just mucking around with it to see what I can create, normaly Im quite self explanatory when It comes to things like this but I really ...
[4 replies] Last: Sorry forgot one thing. The #define goes at the top of file after the... (by TheIdeasMan)
June 2012 Pages: 1... 1011121314... 51
  Archived months: [may2012] [jul2012]

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