General C++ Programming - October 2013 (Page 29)

Operator Overloading Question
 
asdf
[1 reply] : You cannot overload operators where all parameters are primitive types... (by LB)
by LB
C++11 inline namespaces - why do they work like this?
 
http://ideone.com/Xw4bnW Apparently, if even one instance of a namespace is inline, all instances are. Why? Why can't the same namespace have an inline versi...
[no replies]
Why is this throwing an unhandled exception?
 
this is the header file I am using and the function that is throwing errors, was providing by professor so it has to be right template<class ItemType> clas...
[1 reply] : If adjacent_city on line 11 can be nullptr, then lines 13, 22, 23 and ... (by cire)
cheking type with iterators
 
Hi guys, Assuming I have a list of pointers to a generic type T: #include <vector> //... list<T*> myList; Now assuming I want to go on the li...
[1 reply] : 1. For pointers and other small/primitive types, use std::vector, not ... (by LB)
help with project!
 
Ok I have the header file and implementation file, and need to create one more class(CurvedActivity) to make the program work. Assignment: The setScore memb...
[5 replies] Last: 1. I think you have to do input and output in main, not in any of the ... (by LB)
Windows 95/98 in x86 emulation minimum hardware requirements?
 
Anyone knows the minimum hardware that is needed to actually run Windows 95 on a 80386 processor emulator (currently working on VGA. 8042 Keyboard&Mouse, 8237A ...
[8 replies] Last: @DTSCode: I'm trying to make my own emulator, not adjust an existing o... (by superfury)
Help with an Assignment is needed!
 
Problem a: Implement the function leastFactor(int n) returns the least factor m such that n=mk for some integerk. For example, if n=21, leastFactor(n) should re...
[no replies]
by Majes
C++ objects from an abstract class
 
Hello, I am working on a project that requires me to create objects from a abstract class that has 2 child classes (that need to be derived). Could anyone give ...
[6 replies] Last: o' and it also compiled just fine before I made the employee class abs... (by Majes)
by ace55
quicksort program problem
 
the problem with my code is that trace toggle can only be turn on, not off and trace does not demarcate the (substring) in progress. how do i fix this? #i...
[8 replies] Last: okay got it! thank you! (by ace55)
Confusing Logic Error
 
I am trying to make a program to solve a special Sudoku puzzle. The rules are: 1) Whole numbers 0-9 are to be used, three times each, to fill a 5 x 6 grid. 2) N...
[3 replies] Last: Wow, I feel like a complete idiot now! Thank you both for pointing it ... (by TsarLenin)
by xcyl40
Having trouble following instructions
 
..
[5 replies] Last: So now is the point where you post your code (by Chriscpp)
Need Help with a small project !
 
i need to delete this topic from this forum
[3 replies] Last: but not sure that what to do after this like using the formulas You... (by Chriscpp)
Please HELP! :(
 
I can't do the edit function, delete and transaction. and something's problem in my view function.. NEED HELP PLEASE #include<iostream> #include<cstdlib> #in...
[1 reply] : Do not double-post. http://www.cplusplus.com/forum/beginner/113430/ (by mutexe)
i want to rerun this program i need help
 
// Physics theorems #include<iostream.h> #include<conio.h> #include<math.h> #define pi 3.14159265 #define RPD (pi/180) #define DPR (180/pi) int main() { c...
[2 replies] Last: thankyou very very much for this reply i worked it as you said and rel... (by Shanukmr197)
Why isn't this outputting anything?
 
main.cpp #include <iostream> #include "blah.h" int att1= 61, def1= 66, eva1=47, mid1=50, hp1=372, att2 = 62, def2 = 66, eva2 = 47, mid2 = 50, hp2 ...
[7 replies] Last: i think you just get a warning but it should be void The MSVC and G... (by andywestken)
How to store multiple lines in an array.
 
int statarray = {61, 66, 47, 50, 372, 62, 66, 47, 50, 372, 50, 54, 64, 45, 331, 49, 52, 58 69, 356, 58, 80, 50, 48, 389, 76, 64, 60, 59, 401, 76, 59, 57, 54...
[2 replies] Last: or between 58 and 69 (by Chriscpp)
by razr
fstream as function arguments
 
Hi (again) :) I am rather new in C++ (or coding in general for that purpose) and am working on a function that causes me a lot of trouble... My function ...
[2 replies] Last: Yep, that was it, thanks DTSCode! (by razr)
Viewing Functions in Main
 
I would like my program to display other functions in the int main function. For example, this is what my program looks like: int Function1(int &var1, int &...
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/functions/ (by keskiverto)
programs
 
Hello .. Do you have any idea about this topic ? Design a set of simple test programs to determine the type compatibility rules of a C compiler. Thanks .
[no replies]
VGA's CRTC Mode control register map13,14&Address wrap bits?
 
I'm currently writing a full VGA emulation for my emulator, but I can't get BIOS Video mode 06h working. I think the problem is somewhere in the Address wrap an...
[2 replies] Last: @rodiongork: Just made a screen capture: http://superfury.heliohost.or... (by superfury)
October 2013 Pages: 1... 2728293031... 46
  Archived months: [sep2013] [nov2013]

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