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

by Dehaku
Only using headers? (1,2)
 
I've been messing with C++ for over a year now, And I've only used a single file for my projects. I...
[21 replies] Last: Hmm... Some of that doesn't make any sense to me, but it has given me ... (by Dehaku)
need to improve random function
 
Hi guys, So i am using this random function: static int randomize(int pRango) { int ran...
[3 replies] Last: oh man! /facepalm! THANK YOU GUYS! YOU ARE AWESOME. (by jmaltube)
Maths problem
 
Hello, I can't figure out why this code isn't working as I think it should do. I want to load variab...
[2 replies] Last: Thank you very much!! Solved it replacing cout << (i/MAX_VARIABLES)*... (by Antares)
using arrays as variables to store large numbers??
 
i am working on an algorithm where i need to store numbers in range of 10-70 digits.moreover,only si...
[4 replies] Last: yay!!!!!!!problem solved!!!!!TTmath FINALLY WORKED for me!!!!!!!!!!!!!... (by utkarshsinghal)
"Stack Folding Problem"
 
I have been assigned this home task to Google and study " Stack Folding Problem " in my Data Structu...
[3 replies] Last: "code folding" is typically the code word for an IDE technique that sh... (by Duthomhas)
Check if two strings S1 and S2 are anagram.
 
Hi, I'm trying to solve few problems related to strings, In most of the cases, I know how to go abo...
[2 replies] Last: > 1. Arrange each string in alphabetical order and just compare them. ... (by JLBorges)
polymerphism
 
Hi, can anyone please let me know what compiler do in the code below? class Base{ public: ...
[1 reply] : > Or please give some reference http://books.google.co.in/books?id=hL... (by JLBorges)
Index-based algorithm design
 
I was wondering if ya'll could help me out here with improving an algorithm I've developed. The prob...
[1 reply] : Consider using a sparse vector / matrix library. SparseLib++ http://m... (by JLBorges)
Tab space
 
Hi I would like to know how the tab space is compared in the c++. I would like to implement my o...
[1 reply] : In C++ you use the character '\t' to represent a tab inside string lit... (by firedraco)
by Reyvan
Help Me Voting program C++
 
I just want to adding "How Many Candidate" .... that we can choose how many candidates we want .... ...
[1 reply] : #include<iostream.h> #include <conio.h> #include<stdio.h> int main() ... (by Reyvan)
Abort Error
 
/* Program to create student record using primary key index usn */ #include<iostream> #include<...
[1 reply] : That function attempts to extract non-existent characters if the passe... (by webJose)
(help) thread stopped
 
#include <iostream> #include <conio> #include <string> void main () { string data_pemenang...
[1 reply] : I see code but no question. I'm not going to guess what you need. Sp... (by webJose)
Password Checking C++ Help VISUAL STUDIO 2010
 
My code runs on codepad http://codepad.org/dDI3fx92 but I get 1>MSVCRTD.lib(crtexew.obj) : error ...
[2 replies] Last: thanks, main always work without a return value for me. (by tripline)
memory simulation
 
hello everyone, i have a school project : memory simulation using a simple software,written in c++...
[3 replies] Last: My memory is not so good any more. Maybe you could simulate that? ... (by AbstractionAnon)
Polymorphism
 
Hey all, It's been a while since I found a problem in C++ that I couldn't solve on my own, but I'm ...
[3 replies] Last: If you know that foo is always a Location*, then you can use static_ca... (by kbw)
thousand separator-help
 
I have a very complicated code, with many outputs which are print out on a text file, now I want to ...
[4 replies] Last: Keep in mind that messing with locales is a system-dependent thing, es... (by Duthomhas)
Recursive singly linked list removal
 
I sort of understand the use of &(*front)->next which would mean the address of the actual front p...
[5 replies] Last: Thanks anirudh sn for the reply. It's working now, but I'm cursious ... (by closed account 4ET0pfjN)
Quick noob question heh
 
if i have int iStalkRange = 40; and then i do like int plusAttacklRange = iStalkRange + 1 || iStal...
[9 replies] Last: Ah, alright. That's just simple subtraction: const int stalkRange=2;... (by Athar)
Simple question about # of digits.
 
I'm modifying a project that I'm working on to give the user more control. One of the parts of my ...
[5 replies] Last: Because this is just a dummy program representing a single problem in ... (by crystalgem)
Linked List
 
Good morning and I thank you in advance for the help. I am have major problems with the List functi...
[2 replies] Last: I am sorry for getting sloppy with the code. I started concentrating ... (by garyfri)
May 2012 Pages: 1... 45678... 41
  Archived months: [apr2012] [jun2012]

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