General C++ Programming - October 2011 (Page 8)

by juvan
sprintf() and free()
 
Hello all I've been trying to understand this but I just can't so I turn to you for help. I will le...
[2 replies] Last: Hot damn! Thank you very much, I don't think I'd figure this one out ... (by juvan)
by gwiz
Dynamic Memory Allocation Question(simple I'm sure)
 
Hi, I'm a novice programmer and I'm reading about Dynamic Memory Allocation from the cplusplus.com l...
[2 replies] Last: Yes, thank you very much that was really simple I didn't realize that ... (by gwiz)
Overloading operator "put-to" (<<)
 
I don't do much operator overloading so I'm not sure if I'm on the right track. The dream is to mak...
[9 replies] Last: I spent ages writing a log class like this with loads of additional fe... (by anonymous23323124)
Got blue page as ZwQuerySystemInformation hooked (SSDT Hooking)
 
Hi guys I've written a program which was described at Rootkit: Subverting ...... to hide a process ...
[no replies]
library program in c++ ?
 
I can't do it.Cods are here. program has read data on files ( avaiable,book,borrow) and delete book...
[no replies]
by Pyrius
Object of inheriting class in base class?
 
How would I declare an object of a class in the class it inherits from? Without the "#include "Bar.h...
[3 replies] Last: Thanks, Disch. I got rid of the error. (by Pyrius)
How Can I Work with a Set of Vectors??
 
I want to put some very big numbers into some vectors like this for example : |1|2|3|4|5|6|7|8|9|...
[2 replies] Last: Forget those stuff. Look at this code. #include<iostream> #include<v... (by Mehran Shakerinava)
search, more than 1 word
 
Hello, i am a beginner and need some help. i need a search function for more than one word... ...
[1 reply] : use std::string instead of array. There isn't (normally) any benefit... (by eypros)
by drew99
Complex permutation of elements of an array
 
I have written two rotation functions that operate on a character array of length equal to a perfect...
[2 replies] Last: I've tried something similar: char txt = "abcdefghijklmnopqrstu... (by drew99)
code problems -- output generation
 
Hello all, I am confused about this piece of code that I wrote to try and numerically solve an equat...
[2 replies] Last: thank you for advice, Gaminic! I understand that r25 iteration was no... (by qwertyu1234)
by memecs
Runtime Traits
 
Hello, is there a way to do something like: MatrixType<m.type()>::type, where m.type() is an u...
[1 reply] : Any thoughts on this? Thanks (by memecs)
Travelling salesman problem extention.
 
Hello. I've been looking for this for long time. My problems is related with TSP, but at the same ti...
[no replies]
Container Requirements for User Defined Types
 
What exactly are the requirements for a template container class to hold a user defined type? I'm c...
[6 replies] Last: [quote=rem45acp]How does the template class know what constructor to c... (by coder777)
Memory Optimization help (no debugging)
 
I need some help optimizing my memory usage. I am making a c++ program to study the effect of le...
[12 replies] Last: CSV parsing is very easy. As long as your table is regular (every row ... (by Gaminic)
by Bic121
MultiTasking
 
Hi All, I'm new to programing in c++ so please bare with me. Here's the problem, I have a list/ve...
[9 replies] Last: Thanks, I think I got it working now. (by Bic121)
C++ confusion
 
Okay so im trying to create a program that will employ a recursive that will estimate the square roo...
[1 reply] : Your root function has a lot of mistakes. You should specifically tell... (by Nisheeth)
how to create object vector of pointers to functions
 
I am trying to create a vector of objects that can have pointers to functions. I would appreciate so...
[1 reply] : Why do you have two definitions for TypeFunc? (by kbw)
by xop
Object Pointers
 
Hello all, I have a question regarding the use of object pointers and whether its the proper way ...
[1 reply] : You can sort of do that if you need to. Why do you want to do that? ... (by kbw)
Sorted Linked List
 
I am trying to make a program to add, delete, and print a sorted linked list. I have tried many diff...
[5 replies] Last: No, I still havent gotten it to work out. (by Shane McFarland)
by smalld
why not giving me "function double defined" error?
 
Hi, I have the following code, I am not sure why the compiler allow it to pass, I think I have dou...
[4 replies] Last: The extern declaration, doesn't actually declare a function. It is si... (by closed account 1yR4jE8b)
October 2011 Pages: 1... 678910... 36
  Archived months: [sep2011] [nov2011]

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