General C++ Programming - August 2015 (Page 6)

by k09p
EnumPrinters: How To
 
Hi, I am pretty new to C++ and I have been trying to develop an application using printers. I n...
[4 replies] Last: Perfect! Thanks a lot! (by k09p)
Static variables
 
I need to modify getup so that it does`t need to use ungetch(); I should do so using a static variab...
[1 reply] : I'm not clear on what you mean. But getc/ungetc in the C standard lib... (by kbw)
by homing
getter/setter vs public for multiple subclasses?
 
Hey, I'm not sure if I should go with public variables for mutliple subclasses in a class or with g...
[18 replies] Last: Then the initialization should be a responsibility of the inner class,... (by helios)
by cynic
My next move....
 
I find programming intresting and have tried c and c++. I fell like i have learned some basic like l...
[2 replies] Last: thanx for the suggestion. I tried it and it helped me get new ideas. (by cynic)
by Sid123
Need ideas for A level advanced project
 
I have been programming for just over a year now and in my final year of A Level computer science I ...
[5 replies] Last: Due to rather unique circumstances (for some reason I'm doing 4.4 A le... (by shadowmouse)
User defined Manipulator
 
In c++ hex,oct manipulators change a number to hex and oct.But I want make an user defined manipulat...
[1 reply] : #include <iostream> #include <type_traits> namespace detail { te... (by JLBorges)
GCC "changes meaning" error
 
Hi, The following code compiles just fine on both Clang and MSVC, but fails on GCC. struct Test ...
[8 replies] Last: I'd say all where a variable name could then collide with the variable... (by NoXzema)
HELP! Cannot convert char to const char.
 
Hello, I am relatively new to C++ and I am have an error I am not sure how to fix. Can someone giv...
[2 replies] Last: Thanks helios. That was a much better way of accomplishing what I wan... (by tneufeld)
problem
 
need help on my program currently,btw i can't post my code here due to avoid plagarism,anyon can h...
[2 replies] Last: Your other posts indicate you are total beginner so no one will want t... (by cnoeval)
Pointer Compilation problem
 
Hey guys i am facing really big problem with pointer. I made a programme.It worked first but if i r...
[3 replies] Last: I got it now.Thank you MiiNiPaa (by Alpha001)
How to delete data from textfile??
 
i'm trying to delete an account from account.txt.My program has a login fuction which compares user ...
[10 replies] Last: Look what file you are opening and what file you are removing. See the... (by MiiNiPaa)
reoving static cast things are same
 
The static cast was doing what it was supposed to. And reality check I commented the static cast out...
[1 reply] : Implicit conversion / numeric promotion. See http://en.cppreference.co... (by keskiverto)
create multiple class object.
 
Is it possible to create multiple class object from several input. For example: class computer{}; ...
[1 reply] : is there any way to create the object for each input, so that the obj... (by MiiNiPaa)
by leourb
Function with two typenames
 
Is it possible to handle a function that deals with two typenames T and U to let it return a U value...
[4 replies] Last: Wouldn't overloading the functions be simpler? #include <iostream> #... (by JLBorges)
Assigning to members of elements in a dynamic array of structures ?
 
Hello, I've been working from a textbook's exercises where one question is creating a dynamic arr...
[11 replies] Last: What that's doing is creating a nameless temporary object of type sam... (by MikeyBoy)
Checking URL Validity
 
I have a tricky question. I wrote a very simple program that creates plausible URLS with paramete...
[6 replies] Last: Even if you use libcurl to actually make a request to the server, be a... (by modoran)
by Nybble
Crashing after emplace_back
 
Hello people, I have a problem with this app... it keeps crashing after (I'm guessing) emplace_back ...
[4 replies] Last: So, if I just use the normal loop to iterate it should be fine? right?... (by Nybble)
Newbie asking for help
 
This is not my code, i found it as part of a geocache description on instructables, but havent gotte...
[8 replies] Last: Took me some time to understand what you meant, but have now changed t... (by newbie156)
by leourb
Template function specialization
 
I have an header like this: #ifndef Templates_Header_h #define Templates_Header_h #include <iostr...
[1 reply] : I am sorry IT was bad written in my book. I apologize. (by leourb)
c++ connnection with lan
 
how to connect database created on c++ via LAN?
[2 replies] Last: First of all, what kind of DB? If it's something popular like MySQL th... (by Computergeek01)
August 2015 Pages: 1... 45678... 17
  Archived months: [jul2015] [sep2015]

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