General C++ Programming - April 2012 (Page 17)

What topics should i learn/review going into an internship for zappos?
 
In my area Zappos, the famous online shoe company, offers an internship to college students and sharp young high school students(hoping im one of them!) into le...
[no replies]
C++ and PHP Code Generator
 
Below is a simple PHP code generator using C++. www.vigshakri.com #include <stdio> #include <iostream> #include <fstream> #include <string> //THIS PRO...
[1 reply] : The above code uses Borland C++ 5.02 and EasyPHP-5.3.2 to test the PHP... (by Krishnanl)
numbers to words calculator
 
Hey everyone I'm having some trouble with my c++ program I'm trying to write a program that will use a calculator to calculate numerals but instead of inputing ...
[1 reply] : #include <iostream> #include <stdio.h> #include <cctype> #include <str... (by well0143)
recursion
 
I have trouble in programming with recursion! It seems beyond me.It so hard to figure out the expression. Can you give me some tips to help me out? ...
[6 replies] Last: Hi duoas, Thanks a million.I appreciate it. (by lulipeng)
How to make a label in form2 equal a textbox in form 1?
 
Hi I need help making a label in Form2 = a textbox in Form1. I keep getting the following errors. c:\users\hamish\documents\visual studio 2010\projects\7...
[no replies]
Aligning tabs with non-equal-width font
 
Hey all, I have been programming with FLTK for a project, and came across a problem. I am using Fl_Text_Buffer for output, but the font it uses is Helvetica (a ...
[1 reply] : You will probably get better help over on an FLTK forum... I don't kno... (by Duthomhas)
Using zero-sized array inside a struct/union
 
Hi all! I have some structures inside an union like this: union MyUnion { struct { int var1; int var2; char data ; } message1; struct { ...
[7 replies] Last: If you do that, you'll have to byte align the structure. (by kbw)
Basic Example for how to write SPARQL query in c++
 
Hello friends, sorry I don't know I am new to the SPARQL database language so I need basic help. how to use the sparql queries in c++ meani...
[4 replies] Last: What do mean to access: 1. If you need just to read it, to find if so... (by gamlet2008)
mail smtp problem (end with "." on a line by itself)
 
...
[no replies]
function stopping whenever encountering a system("PAUSE")
 
Like title says, my program is stopping whenever it hits system("PAUSE") in my code. I have strong reason to believe that it is not the system("PAUSE") that...
[8 replies] Last: ^ this. You can't actually expect us to figure out what's wrong if you... (by hanst99)
by Eyad
delete all occurrences of x from a linked list
 
Given a number x, write a program to delete all occurrences of x from a linked list in one iteration. That is, you can not scan the list more than once. I...
[8 replies] Last: thx for trying to help. but i do not get it. anyways i'll try to figur... (by Eyad)
Understanding reference variables in C++
 
Hi, I have these two functions one of them using a reference variable and the otherone using a regular variable and I get the same ecxact result if I pass t...
[14 replies] Last: Thank you all very much for the good explanations that really helped m... (by fstigre)
array with unknown amount of elements
 
Hello I've got a class level, which contains an array of a class named Block. It needs to be prototyped in the level class, but at the time, I won't know the...
[2 replies] Last: Take a look at boost multi_array (by Duthomhas)
by jwings
Trouble with template coding
 
I am practicing by implementing dequeue using array instead of deque STL. But I faced some errors... Please help me solve this Thank you very much templat...
[1 reply] : In your class, DequeArray::front is a reference to a constant elem ... (by closed account zb0S216C)
Boost random library
 
Hi, I am trying to use Boost's random generator class in my code using the adaptor pattern. However, i have the following error message : 1>------ Bui...
[2 replies] Last: Hi, Sorry for the delay. After the correction based on your advise i... (by MoonDragon)
Cut Off Word Overflow in Command Prompt?
 
Hey guys, Yesterday one of my friends was creating an RPG program on Command Prompt for one of his classes, and being known as a person who is good with code he...
[4 replies] Last: There is no automatic way to do it. You have to have an idea of how ma... (by Duthomhas)
Help With Grading Program
 
I have this base program that I created and need to add in a sorter, apply letter grades to the sorted scores, put everything into function format, and output e...
[2 replies] Last: and output everything to a .doc file. Text file, you mean. You can't... (by Athar)
Defining an array struct
 
Hey. I have a struct like this: struct individual { int *x; float profit; }; And I want to do something like this: struct individual Ant ;...
[1 reply] : By using vectors: vector<individual> ants; for (int i=0;i<antCount;i... (by Athar)
file format
 
hai friends, can any one help me, how a file can be written in this format? (its not tab space, comma's in same alignment etc....) thanks in advance ebe...
[1 reply] : enum { PRECISION= 10, FWIDTH = 15 } ; file << std::fixed << std::setp... (by JLBorges)
by frajem
OpenCV VideoCapture fails to open many files
 
Hi, I have a problem to open many video files (e.g., 200) in a loop by using the OpenCV class VideoCapture. Below you can find my code. More specifically...
[no replies]
April 2012 Pages: 1... 1516171819... 49
  Archived months: [mar2012] [may2012]

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