General C++ Programming - October 2014 (Page 7)

system command
 
I am trying to call an external application in my C++ program , example, system("C:\Program Files\Internet Explorer\iexplore.exe"); but the application just g...
[5 replies] Last: Also something to keep in mind is that the WinAPI will normally except... (by Computergeek01)
Stuck at this error. Reading data from files
 
I am stuck at this normalization part. I am using a string and reading data one by one. I keep getting blank. The program compiles. Any hints to what to do next...
[2 replies] Last: You are reading in a string at a time. You really want to read in a c... (by doug4)
Create New Data Type
 
i need to create a new integer data type called BigInt to store a big big integer, which includes Dint(8 bytes) and Qint(16 bytes) here is the hint/ typede...
[3 replies] Last: I really don't understand your problem. What is wrong with using scanf... (by jlb)
by meesa
Copying a purley virtual class child
 
In short, this is what I have class A{ A(){} virtual void pure() = 0; } class B : public A{ B() : A() {} virtual void pure() {} }...
[5 replies] Last: class B : public A { virtual A* clone() {return new B(*this);} };... (by S G H)
find the highest digit
 
I can't find the highest digit within c-string. could anyone please help finding my mistake? if the user was to enter 1234. the highest shall be 4 but can't g...
[2 replies] Last: Please use code tags when posting code. Highlight the code then selec... (by dhayden)
Trying to copy a stack; push() method not working
 
Hey guys, I am trying to write a method (copyStack())that copies the elements of one stack to another. So I am using a Type variable and a while loop, assigni...
[3 replies] Last: The problem is on line 78/79: Why do you use local variables and modif... (by coder777)
Could not convert to bool
 
I have an assignment where you have to ask the user for the names of students. You are then instructed to name the first and last person in the line. I have the...
[1 reply] : All conditional expressions need a comparison operator such as == < > ... (by coder777)
problem passing 2d array to a function - please see code
 
// P L E A S E H E L P ! // what must I do to call function getFeedingData and pass it // array feedingData? #include <iostream> #include <ioman...
[2 replies] Last: Thank you much (by tytrate)
Help with doxygen
 
Not sure if this is the right place to ask but I can't find anywhere better. Anyway I am having a problem trying to get doxygen to generate documentation for m...
[1 reply] : I re-installed doxygen and used doxywizard instead of the default conf... (by mashedtatoes)
Custom Class for std::set
 
When we want to use custom classes for the STL set data structure, which way do you guys do it? I look around and see people passing comparators, overloadin...
[1 reply] : They are all idiomatic, this is more of a question of class design. I... (by Cubbi)
Singly linked list - c++ class template
 
I have to make a class of singly linked list: template <class T> class LINKED_LIST { private: struct ListNode { T data; ListNode *next; }; UINT s...
[8 replies] Last: thank you!!!! (by nightmaregiba)
Closest Pair Problem
 
I am trying to solve the closest pair problem. I am having a problem with closest_pair function , first of all I want to get the minimum distance of each X...
[1 reply] : > but so far no success. If you could provide a more descriptive error... (by ne555)
by bwoo
problem involving constructors
 
Hi, so i tried running my code and i keep getting the error "call to implicitly-deleted default constructor of 'node'. My code is as follows //.h file typ...
[7 replies] Last: > I just put string because I didn't think it had anything to do with ... (by ne555)
read file display high/low
 
really new to c++ (first semester) teacher went through the topic really fast and now im struggling on this one assignment. any help would be appreciated. also ...
[no replies]
Please help me
 
Hey guys I got an assigment due but not sure how to do it, could you guys help me out? A set is an unordered collection of distinct elements of the same typ...
[no replies]
Transfer picture from c++ MFC to c# application
 
Hi, I am going to write an c++ MFC application with some upload picture functions on it. Once the button upload was clicked, the picture would transfers to a c#...
[no replies]
Design pattern for dynamic function paremeter.
 
Hi, I need to design an interface(a function prototype) that takes an argument which is used to pass information. The information can be passed by independe...
[1 reply] : Should I use a void pointer that can be casted to respective applicat... (by MiiNiPaa)
use of #define
 
Hi. Could anyone help me understand https://github.com/thomasgubler/libxbee/blob/master/xbeep.h this code? It says, #ifndef EXPORT #define EXPORT...
[4 replies] Last: It's not an include guard (or guard tag as Food 4 Thought like to call... (by Peter87)
Getting error with list of key type std::unique_ptr
 
I have a Polymorphic class and some child classes, of which I need to make multiple instances of, using a list container. I've set the key type to be a uniqu...
[4 replies] Last: Cheers guys, thanks for the help! Much obliged. (by Food 4 Thought)
C++ database
 
as many people know Battleye is known for having an insecure anti-hack. so I am in the middle of trying to create an anti-hack which completely works through a ...
[1 reply] : If it's on a server you could run queries via post request. (by zoran404)
October 2014 Pages: 1... 56789... 38
  Archived months: [sep2014] [nov2014]

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