General C++ Programming - April 2011

by chris4
File Reading Strings and Integers
 
I'm trying to read a file that contains integers and strings called club.txt that has the following data. 4 Ami Ann Ben Dan ...
[1 reply] : Updated. int get_data (int students_friends , char names , in... (by chris4)
FLTK add images loading
 
http://yasin.boteupload.com/?p=508
[no replies]
How to use conio.h?
 
I'm interested in using conio.h, but I have no idea how to use it, and google has not been helpful. Could someone point me to some kind of conio.h tutorial?
[9 replies] Last: Haha as is the custom: SDL http://lazyfoo.net SFML http://sfml-dev.... (by ultifinitus)
Where I did wrong ?
 
Hey, I did this soft in last 10 min but I can't figure out what my mistake is ... please help me. #include <iostream> #include <string> using namespace ...
[5 replies] Last: THANKS ! IT DOES WORK ! (by jumper007)
Limits/Boundaries on numbers
 
{ //arcsine cout << "Enter a degree to calculate for arcsine: (Choice should be between -1 and 1.) "; cin >>num1; result = asin (num1) * 180.00 / pi; ...
[3 replies] Last: That works -thank you very much, as for the {}it is just a habit of mi... (by jpacosm)
Simple bigram printing not working
 
Need help in small part of the assignments Ok so i am on the last part on my project and everything is running smoothly and boom this hits me. initially i a...
[1 reply] : As for crash notice: for (int i =0 ; i<26 ; i++) { for(int j=0... (by savavampir)
Steps ahead
 
I have already turned in this work a while ago, but trying to fix a part I have in all my programs. For those that include many steps, especially numbers; if yo...
[1 reply] : I'm not completely sure what you're talking about... however it sounds... (by ultifinitus)
by afm
Changing text in a second dialog window from a first window
 
I haven't been exposed to this before, but I have a need to be able to (using code::blocks and wxwidgets 2.8.11 by the way): Have the main frame showing. Di...
[no replies]
Extremely basic programming help
 
I have an assignment on making a basic clicking game. Bassically I need to make the user click the two buttons as fast as posible to increase the score before t...
[6 replies] Last: No! Windows form is using managed code. http://en.wikipedia.org/wiki/W... (by savavampir)
by HenriK
Questions about inheritance
 
Hello, I´m yellow and I have a problem. Can anybody help me, I dunno... Well, anyway, I have some things to talk about the inheritance itself. Please take a...
[4 replies] Last: That explained a lot. Thanks again, writetonsharma ! (by HenriK)
segmentation fault
 
i am getting segmentation fault when i am trying to insert using tree*.PLEASE HELP #include<iostream> #include<set> #include<stdlib.h> using namespace std; typ...
[1 reply] : When you allocate memory with malloc, it does not call the constructor... (by closed account 1yR4jE8b)
by Da2
Abstract operator+ problem
 
Hello, my homework is to make 3 classes: LongNumber - base IntLoneNumber - derived (from base only) FltLongNumber - derived (from base only) So I made this cha...
[14 replies] Last: But we were taught operator+ should return by value.. It should work ... (by Da2)
Hiding user input
 
I recently created a very simple program. It is just my first, but I have been trying to perfect it. #include <iostream> using namespace std; int main () ...
[4 replies] Last: You could use system( "CLS" ) but that would make your program OS sp... (by closed account zb0S216C)
Help Needed With A Site About Compilation Errors
 
I've created a site about compilation and linking errors during programming - Get Rid of ERRORS - http://getridoferrors.sourceforge.net/. This WIKI will gathe...
[no replies]
by gasp
convert a char* to string
 
Hello, first of all, I apologize for speaking so bad english, i am french and I try to improve english and C++ so... ;-) Then, I used the getline function...
[4 replies] Last: by the way: there is a standard getline function which reads directly ... (by imi)
Is Operator Overloading really necessary?
 
I'm reading about operator overloading in my book at the moment, but I can't say I understand much of it. I haven't seen it in any programs (source codes), so i...
[10 replies] Last: iostream is such a pain if you want to have localization support for a... (by imi)
problem with map,iterator
 
i need some class database (factory) for my program i created it using std::map template <class Obj> class Factory { public: Factory(){} ~Factory(...
[3 replies] Last: thanks m4ster r0shi it helped a lot (by Eskalante)
Make More Cohesive class!!!
 
Hello friends!!! I am new in this board and i am little confused with this question. Please help me out... Consider the following Class, a student claims ...
[1 reply] : Well, I don't think I can answer without a definition of cohesive. If... (by webJose)
help analysing text
 
Hello, i am analysing text, and searching for some examplse of analysing text doing with windows from application, I have a field in gui where i should type a ...
[1 reply] : I've tried to explain how to write such thing in an older thread: htt... (by hamsterman)
by mgm11
deleting decimals from parameters
 
i'm writing a piece of code for an assignment, and up to deleting commas from my parameter 1. i have sucesfully done this however if i put more than one comma i...
[1 reply] : Use [co de][/co de] tags. Show your problem ( give example inputs a... (by hamsterman)
April 2011 Pages: 123... 37
  Archived months: [mar2011] [may2011]

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