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

by bvteja
find mistakes in following c program
 
#include <string.h> #include <stdio.h> #include <stdlib.h> int main(){ char str1 = "abcde"; ch...
[4 replies] Last: size of operator when used for arrays gives the size of the array. I t... (by kulkarnisr)
Help with Templates
 
I have to create a project that includes the template function sort3. it must display floats small =...
[2 replies] Last: ^ 1. You don't assure the invariant (the client may modify the values ... (by ne555)
Accessing VirtualStore??
 
Trying to read/write from a file located only in the virutal store. Having trouble loading the file...
[2 replies] Last: UPDATE: Not sure if this is the easiest way, but I got it working usi... (by Newlance)
s
 
asaasd wqd asd
[1 reply] : That teacher must have given or explained some other material too, so ... (by keskiverto)
Storing static class members of dynamic variable type in a dll
 
I need to do this but can't figure out how I can implement it. Tickable.h #include <list> #ifdef...
[5 replies] Last: THANK YOOOUUSS... Just to clarify, now that the variable has been defi... (by TheBeardedQuack)
Math menu driven program problem.
 
Can not seem to get the program to perform the calculations within the cases. Also, how do you set u...
[1 reply] : Can not seem to get the program to perform the calculations within th... (by MikeyBoy)
Login system and simple menu
 
I need a program that has a login system and then a menu that has 3 options: Add, delete and exit. I...
[1 reply] : you dont need to do everything That's very generous of you... :rolle... (by MikeyBoy)
by seurer
throw nullptr
 
If you throw nullptr what *should* catch it? Just a catch(nullptr_t)? Or other catches of pointer ...
[4 replies] Last: > This is from the draft C++14 standard but C++11 is basically the sam... (by JLBorges)
by Skynet
passing classes as parameters
 
I was wondering, how would I pass this parameter and how/why is it not working this way? I've tried ...
[11 replies] Last: const int TABLE_SIZE = 7; speedTable myTable(TABLE_SIZE); ... (by MikeyBoy)
by jorgen
Reading and writing to file using the same fstream
 
I have a file of data where each line consists of 4 parameters ( degree , alpha , beta and x ) a...
[3 replies] Last: Ok, thanks for the replies! I changed the code in the way you suggeste... (by jorgen)
Switch Statment Programming Errors
 
#include<iostream> using namespace std; int main() { // declare variables int first; int se...
[1 reply] : code tags. you need to do case 'D', ie with single quotes, you can onl... (by closed account Dy7SLyTq)
GUI library
 
Hi guys, Is there anyone who know a good gui library which is free and easy?
[9 replies] Last: You can make GUI quite easy with this framework http://www.ultimatepp.... (by andreicpp)
ethernet comunication
 
hi, i´m trying to explain good what i want to do. i have made a programm in C++ to open, write and...
[1 reply] : It's not a programming problem. 1. Create a shared directoryon the re... (by kbw)
by Ceset
initializing
 
hi guys. sth is in my mind. fast way of initializing an object through constructer is Fred::...
[6 replies] Last: ohhh. thx @JLBorges. that was hell helpful (by Ceset)
DLL Help
 
I have a small problem concerning my DLL I have created. I have had one or two people test my DLL, a...
[4 replies] Last: s for the stdcall I am not 100% if it should be cdecl or stdcall. I or... (by FatalSleep)
Chart lib
 
Hi there! This is my first post(because this is an excellent forum and there is an everything I nee...
[1 reply] : Ok, solved using Canvas, draw-rect, easy to create bar-chart. Regards! (by exdatis)
Starting to Learn API hooking
 
I am interested in this topic, I understand most applications which have dlls have functions that en...
[3 replies] Last: Sorry I can't help with this as I haven't looked into it much. I just ... (by knn9)
A Class declaration question
 
I'm looking at a class that is declared like the example below, can someone explain this declaration...
[3 replies] Last: Note that by default anything declared for a class is private data, i... (by TheBeardedQuack)
Function Compiling Errors
 
Hello! I'm new here to the forums, and I'm currently taking Intro to C++ as a requisite for my Assoc...
[6 replies] Last: No, it won't work. Neither will returning a pointer to a local array ... (by TheBeardedQuack)
Inventory Class
 
Design a Inventory Class that can hold information for an item in a retail store's Inventory. I have...
[1 reply] : Your overloaded constructor is wrong. Inventory(int itemNumber, int q... (by abhishekm71)
October 2013 Pages: 1... 2324252627... 46
  Archived months: [sep2013] [nov2013]

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