General C++ Programming - March 2013 (Page 6)

resizing an array
int size = 10; int* arr = new int ; void resize() { int* resize_arr = new int[size + 1]; ...
[7 replies] Last: Now that will work. (by zoran404)
If statement multiplication by zero problem.
I have a minor problem. I want to set an integer to zero when it easy equal to another integer, but...
[2 replies] Last: Thanks for the help. But I could swear that I've already tried those t... (by MediumSolid)
Queue Template Help / General Questions
I'm working on a queue template, here it is below: //CLASS DEFINITION SHOULD BE HERE... template ...
[5 replies] Last: Can you elaborate....Sorry a bit confused. About which part? The n... (by cire)
by Anshh
Can i edit the text file without writing the content of whole file again.
Can i edit records stored in file without rewriting whole file again .?
[1 reply] : This depends on the filsystem you are using. The most common filesyste... (by tcs)
Should I learn a scripting language?
When I've or heard people talk about their games occasionally I would here about how the scripted so...
[2 replies] Last: If you play WoW, I believe all the addons in that are written in Lua. (by ResidentBiscuit)
want write these programmes
Write a complete C/C++ program for the following tasks i. Create two arrays named intArray and s...
[1 reply] : From Don't post homewor... (by tcs)
Two Connecting Circles C++/Excel
This is quite complicated to explain, so I will do my best, sorry if there is anything I missed out,...
[2 replies] Last: just take the last closing bracket from the url in the browser and it'... (by mutexe)
Code/Resource Encryption Lib/Program?
I was wondering if there are any good libraries or programs that can encrypt the source code of a pr...
[4 replies] Last: There are one way encryption algorithms. A user (hacker) cannot get ba... (by writetonsharma)
Guessing Game Problem
I am having a problem with an C++ problem. The description can be found at UVA:
[no replies]
hey i am using set in my code to get fields from a reader xml which are being errored out but it is ...
[1 reply] : sets and maps will keep the data sorted at all times. You have to appl... (by writetonsharma)
Help C++ program
Write a program which reads a stream of numbers from a file, and writes only the positive numbers to...
[1 reply] : What do you mean by "its not working out"? Be specific about what the... (by MikeyBoy)
I have some code that will allow me to draw a crescent moon shape, and have extracted the values to ...
[3 replies] Last: google came back with 0 links A little bit of creativity goes a lon... (by MikeyBoy)
Can you program a DVD to wipe when someone tries to copy it
Ok I am going to be making some thing on to DVD and I was wondering if you can program it to wipe th...
[1 reply] : Dozens of companies, which have billions doolars yearly profit, can't ... (by MiiNiPaa)
by Skynet
Ideas for implementing AVL tree.
I have this code so far and I would like to see if I can't get it running but in AVL format. I have ...
[4 replies] Last: //Another way of deletion in avl //its easier to understand #include<i... (by ashutosh jha)
Can we call private functions?
What I think is that we will invoke a public function which will invoke a private function of class....
[7 replies] Last: Thanks! (by Rehan FASTian)
Need help with this C++ (Almost done)
Hey everyone, I need help with this C++ assignment. I have most of it completed its just I can't...
[2 replies] Last: Ah, I see now. I also remembered that I could have added a counter in ... (by omiexstrike)
Storing elapsed time data in an arrat inside a for loop
#include <iostream> #include <stack> #include <ctime> std::stack<clock_t> tictoc_stack; ...
[6 replies] Last: > I'm using basic c++ compiler that last line that prints out the std ... (by JLBorges)
Macro to template
Hello, I have this macro, that expands to some methods of my class: #define POPULAR_COMBO_FILT...
[2 replies] Last: it worked! thanks!! :) (by nelson777)
Why is this not working? (Crypto++)
#include <openssl/sha.h> #include <string.h> #include <string> #include <iostream> using names...
[1 reply] : Looks like you didn't add library files to project link list. (by MiiNiPaa)
running <list> inside a loop
I'm needing a <list> that will hold only four items yet allow me to continuously add to it with myl...
[1 reply] : while (true) { for(int i = 0; i < 4; ++i) mylist.push_fro... (by MiiNiPaa)
March 2013 Pages: 1... 45678... 51
  Archived months: [feb2013] [apr2013]

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