General C++ Programming - June 2013 (Page 28)

by zsteve
How difficult would making a CAS program be?
 
I'm just being curious about building a CAS (computer algebra system) application in console mode. ...
[2 replies] Last: well for single variable non polynomial equations like you presented i... (by TinyTeeTree)
Making a menu
 
So for my class at school I have to make a menu to display on a kiosk for an amusement park in the f...
[5 replies] Last: @whitenite1 Thanks so much, that worked. Looks like my menu is comple... (by BradleyHeat)
Vector<class>
 
I want to print the contents of allPolygons vector, I don't know how to do this. The code in not mi...
[1 reply] : cout << ' ' <<&it; should be cout << ' ' << *it; (presuming that ... (by MiiNiPaa)
Friendship and templates
 
I have a function and a class, like so: template<class U,class V> V myFunc (U); template<cla...
[1 reply] : See: http://www.parashift.com/c++-faq-lite/template-friends.html (by JLBorges)
About Text and Binary files,end of file indicator
 
I open a file in text mode(for example mode "r+"),and then I use fwrite function and write a str...
[no replies]
Prime Numbers help in group
 
I currently need help on separating my Prime numbers in group for my assignment. I absolutely do not...
[8 replies] Last: Hey Scorvus, I dont understand one thing in line 12 and 13, if num is ... (by Harsh Saxena)
help!generate random number using in xlw
 
i want to get a random number generator. i know how to generate random number in c++. however, when ...
[no replies]
Did I answer correctly?
 
Would you agree that I answered these conceptual questions about struct and polymorphism correctly? ...
[4 replies] Last: ok thanks for helping out (by Gluttons)
help!random_deivce
 
i just want to generate a random number, and copy a code from others: #include <iostream> #inclu...
[3 replies] Last: thanks both of you very much. i will go to add and fix into my program... (by huang11404)
by Daleth
Container of a class with a container of a class
 
Say you had a couple classes like the following: class Basic; class Intermediate{ public:...
[1 reply] : Nope (by ne555)
Program Menu choice skips over input
 
Hello everyone, I just recently finished up a program that implements Dijkstra's Algorithm and I tho...
[2 replies] Last: That fixed it. Thanks a bunch Yanson! (by tay1392)
How to read selected letters
 
Hello, I have a text file in which i need to read only selected letters and substitute them with...
[1 reply] : you can use the .get() member function for a file so that you can comp... (by jasonXcoder)
no matching function for call
 
no matching function for call to `getline(std::string&, char&)' Why is this error occuring? HELP M...
[2 replies] Last: *edit* (by jasonXcoder)
floating point overflow
 
hello and sorry for my english. why does this piece of code: for (int i=15;i<30;i++) { ...
[4 replies] Last: mm ok, I understand, thank you very much :) (by cabeto14)
Partly recompilation generates invalid address fault?
 
I'm making an x86 emulator with C++ (currently 8086/80186 with some little unfound errors). When I'm...
[1 reply] : undefined behaviour is undefined. That's the best guess with the infor... (by ne555)
bit problem
 
Hi give me a hint for following problems 1 The numbers are exactly N bits wide and they have no ...
[3 replies] Last: for #1 if N is 6 4 should looks like 000100?? N would be 3 here, a... (by closed account o1vk4iN6)
What is the best Auto-documentator for Codeblocks?
 
Question is title. Thanks. I need one since my project is one-man run right now & is suffering from ...
[4 replies] Last: someone must be experienced with this at least a little. (by DeXecipher)
Problem with friend class from multiple files/namespaces
 
Essentially I have two header files, one called 'ACYDTypes.h' that contains the classes for the basi...
[no replies]
time stamping
 
I'm writing a program and i have an array of structs, I need to overwrite elements in the array such...
[5 replies] Last: Do you actually require a time to know which block was committed earli... (by andywestken)
Reading contents And Calculating
 
HELP!!I need to know whether in c++ we can read values from a .txt file and use it to calculate some...
[2 replies] Last: Thank you, well i found how to read only the second line and i'll try ... (by naveen19)
June 2013 Pages: 1... 26272829
  Archived months: [may2013] [jul2013]

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