General C++ Programming - May 2012 (Page 18)

Viewing hex bytes of a wav file
 
Would anyone know of a quick and painless way to read in the hex bytes of a wav file into a C++ prog...
[6 replies] Last: > find patterns in a 16 byte row (as it would be displayed in a hex ed... (by JLBorges)
by sad
help me please for making these program
 
i need to make this program .but i can't.but i need it so much... work is creation and fillin...
[no replies]
why doesn't my decrement code work?
 
#include <cstdlib> #include <iostream> #include <string> #include <stdio.h> #include <windows.h>...
[6 replies] Last: I figured it out !! woot woot thanks for help I over complicated it al... (by code builder)
Segmentation Fault ... Templates
 
Hey there, I'm writing code to sort two vectors simultaneously. One list is used to sort both of ...
[9 replies] Last: Awesome! Thank-you Cire, that makes sense. Good catch. Ill try that on... (by SexyBachelor)
by Ajib
Finding a distinct values from a pointer array
 
I have got a program from Google which exactly meets one of my demand of obtaining the distinct valu...
[no replies]
by Mannah
Constructors
 
#ifndef media_h #define media_h class Media { public: Media (char* p = NULL,char* b = NULL...
[1 reply] : its okaii..........i figured out my mistake =D (by Mannah)
Theorycrafting with Objects and Data Types
 
I was wondering. Lets say you have a class, we'll call it Person. This Person class has several data...
[3 replies] Last: Here's my question. Would it be better to instead have seperate conta... (by kbw)
Animated globe showing world history
 
Hi everyone, I'm slowly working my way through "Programming and Problem Solving with C++, 5th editio...
[1 reply] : Hi there, welcome to the forums! Unfortunately, there isn't a clear-c... (by closed account 3hM2Nwbp)
Why does setting the array to my class not work (operator overloading)? (1,2)
 
Hi, As a general question, can arrays be set to other arrays? For example, this is my code: ...
[28 replies] Last: What. No. "Hi" is a string literal, not a memory address. And "Hi" has... (by Athar)
by Subby
Help with heap corruption
 
Hey, I'm trying to enlarge an array of pointers for the first time it's working well.. but from ...
[8 replies] Last: Wow.. you are so right... I feel so ashamed.. =\ I took basicAccount... (by Subby)
Displaying Special Characters in C++
 
Does anyone know how to output special characters in C++ (to the console)? For example, ♠ ♥ ♦ ...
[14 replies] Last: Well, I'm using the Allegro graphics library now, so that is probably ... (by Ben Brown)
by JJJSSS
Can someone help with this error?
 
//The error I get is "cannot convert 'int' to 'T*' for argument '1' to 'int readFile(T*,T*,T*,std::...
[6 replies] Last: It seems that you are trying to build a non-console application. Or y... (by vlad from moscow)
by alkedr
gcc __attribute__((constructor)) and command line arguments
 
I am using gcc. Can I somehow access argc and argv from function declared with __attribute__((const...
[1 reply] : I don't think so. (by Peter87)
How to safely delete something not dynamically allocated
 
If one tries to delete a pointer that isn't pointing to dynamically allocated memory, is there any w...
[4 replies] Last: You could try to make some kind of smart pointer type that allows you ... (by blueberry)
Queueing
 
I am working on making a fifo and i've been using 2-d vectors as my storage but recently i have been...
[2 replies] Last: Lists seem more like what i need. Although 2d lists seems more complic... (by forceface)
Help regarding resource.
 
I am supposed to submit a multilingual dictionary (Google Translate sort of thing) as my "Data Struc...
[no replies]
Help regarding OpenCv and Visual Studio Express 10.0 in 64 bit Windows 7 System
 
I have built Opencv using Cmake and then I am trying to run this code: // OpenCV_Helloworld.cpp : D...
[3 replies] Last: No more here, please. One thread only: http://www.cplusplus.com/forum/... (by Moschops)
by bmwboi
Help with a project!
 
So this is a project that I've been doing for myself for fun, but have ran into a small problem. I d...
[9 replies] Last: What is the point of your namespace if you just usenamespace something... (by Need4Sleep)
Extra Node with Link List
 
I'm developing a program that stores information about different companies in a link list. I must re...
[3 replies] Last: Ohhhhh that makes a lot of sense. Thank you very much. (by sharkbait)
Password Input Conversion Problem
 
How can I get an input from the user for a password, and have the input come out as asterixs, while ...
[1 reply] : http://www.cplusplus.com/articles/E6vU7k9E/ (by Moschops)
May 2012 Pages: 1... 1617181920... 41
  Archived months: [apr2012] [jun2012]

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