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

Multi-layer menu design issues
 
Hi guys, it's my first post here although I look in regularly for help and fun. I am currently trying to design a drop down menu system. My plans seem to fal...
[10 replies] Last: Hi guys, thanks for all the feedback it has been really useful. xerzi ... (by odracir123)
need program code
 
write a program using structures ti initialise name of first, middle, and last; age ; game ; and city of 5 players. the program should do the following: a) a...
[1 reply] : Using a structure and an array, you could build this: struct Player ... (by cantide5ga)
backward reader program (1,2)
 
Hi all! I made a program which reads backwards, but i don't know how to make it recognize palindromes. Meaning if i type in radar, it says palindrome. Here is...
[28 replies] Last: Thanks :) (by Donanza)
by Milun
Program crashes when using pointer to pointer
 
Ok, I've been stumped for hours. Basically, I've got 4 dots on the screen (dot is a class). I want to make it possible to click and drag the dots, but if there...
[15 replies] Last: Lol. I know that would be bad! But some people keep saying DevC++ is a... (by Vlykarye)
Graph Colorization????
 
Hi everyone, I am working on a graph assignment where I have 10 nodes. 0,1,5. 1,0,2,4. 2,1,5,7. 3,4,6. 4,1,3,5,6,9. 5,0,2,4,8. 6,3,4,8. 7,2,8. 8,5,6...
[no replies]
Programming using C strings
 
Hi, I need to code following logic using C strings. can someone plZ help me out str1 = lmn.xyz.hgf.456 str2 = abc.xyz.123.pqr str3 = *.#.rty.* I ne...
[1 reply] : Wow, that was a mouth full. What have you coded so far? What little ... (by cantide5ga)
ALL POSSIBLE COMBINATIONS
 
i have to make a program to make all possible combination through brute force approach... the question is that if suppose i have 3 tasks and 2 processes....i...
[2 replies] Last: Assuming a general case of M processes and N tasks, first generate all... (by hamsterman)
by mowicz
Singly linked class, why doesnt it work.
 
So, I made a custom singly linked class program using templates and I want to overload the operator * with an int to copy each element in the list 'int=x' times...
[3 replies] Last: Peter is correct, and the issue he pointed out answers your next quest... (by rollie)
by vujic
Protection Input(HELP)
 
I need protection input for decimal number. Terms:input of decimal +/- number; at start of input mustn't be "."; after input 0(at start),write "....
[1 reply] : Read the "number" as a std::string and then parse it according to need... (by modoran)
help me! What wrong with my code?
 
I'm amateur in C program! please help me! thanks! #include<conio.h> #include<stdio.h> #include<string.h> #include<stdlib.h> #define MAX 40 struct Diachi{...
[1 reply] : State the problem - both what you want it to do and what it does. Also... (by hamsterman)
Getting Wrong Answer in Basic Graph Theory Question (1,2)
 
Here's the question :- Heroes in Indian movies are capable of superhuman feats. For example, they can jump between buildings, jump onto and from running trains...
[20 replies] Last: @ne555 , sorry for late reply . Can you please now tell me how to get... (by Maggi Iggam)
Garbage chars in string.
 
Hi. I've written this code for a program I'm working in. Basically, the objective is, given an input of a N number of variable-length DNA sequences, find the si...
[4 replies] Last: Ok, thanks. I'll check into that. (by andrepd)
String problem
 
there is a string "1234567890" I want to sum up the 1st , 3rd, 5th ,7th and 9th digits how can I do it?
[2 replies] Last: Hope This Would Help. :) #include<iostream.h> int str = {1,2,3,4,5... (by cloudmuffs04)
Need help with base conversion program?
 
Need help with base conversion program? I'm little confused can any help or give us advice / step by step instructions to start. < Don't want any codes > i wan...
[5 replies] Last: Nice! I never knew this method myself. Pretty simple! Thanks! (by TheDestroyer)
Identifier not found?
 
// xechallengedump.cpp : Defines the entry point for the application. // #include "stdafx.h" #define XBOX_KRNL #define DbgPrint #define resolveFunct ...
[4 replies] Last: Done that now im recieving the Error 1 error LNK1181: cannot open inpu... (by just logged on)
Command list
 
Hello again everyone.....i need a little help again....could you pls send me all the command used in c++ and their syntax....for example "pow(x,y)"...thanks i...
[1 reply] : There are quite a few of them in C++. I don't know if it's very useful... (by Peter87)
function template problem
 
Compiler is not accepting template functions under some conditions. So I found a very simple example, copied straight out of the documentation: template <cl...
[1 reply] : I found how to fix this example but not my original problem. I insert... (by arieberman)
help?
 
im doing an assignment for college and i need some help im on assignment 2 but you will need the info from 1 also assignment 1 Write a value returning function...
[1 reply] : I thoroughly answered your question here: http://www.cplusplus.com/for... (by cantide5ga)
Byte-by-Byte processing (& file formats)
 
Hey. I was once a C++ ninja... and now since I've been much less active in programming, and only recently restarted with my C++ "journey", I've been re-learning...
[5 replies] Last: I'm trying Smalltalk now, actually (Pharo). By the looks of it, I thin... (by Ben Bowen)
Why don't my definitions match?
 
So I get the following error output on all of my functions when I try running my program: Error 8 error C2244: 'List<T>::getLength' : unable to match func...
[5 replies] Last: This minimal example works fine for me: template <typename T> class ... (by cire)
April 2012 Pages: 1... 1314151617... 49
  Archived months: [mar2012] [may2012]

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