General C++ Programming - February 2013 (Page 15)

strncpy difficulties
 
Hello all, I have a problem using strncpy defined as: char * strncpy ( char * destination, const ch...
[6 replies] Last: http://beej.us/guide/bgnet/ (by sysopfb)
beginner in c + +
 
Hello all, I have a problem and do not know how to solve (I am a beginner). Here is the problem: ...
[no replies]
by alefux
Work with fractions and irrational numbers.
 
Hello everybody, I'm new to this site and to the C++ world, and I need your help. I'm looking for a ...
[4 replies] Last: You need a computer algebra system, this one is available free (should... (by mik2718)
Student array Calculator
 
Hey! im working on a program that gives the following results: Enter a number of figures: 10 12 -...
[no replies]
Visual C++ 2010 Express - Jai Ho!
 
Finally, i came onto a IDE that i understand. And is quite easy to code in too. I agree that it doe...
[2 replies] Last: But man code::blocks is so hard to please. I tried like 9 times to g... (by joneele)
Becoming a mad programmer
 
A programmer needs to work their skills all day long. Alot of knowledge won't be found until an actu...
[no replies]
by Alam
??????????????
 
I didn't remember how to input a sentence in char variable using getch() plzzzzzzzzzzzzzzzzzzzzzz ...
[1 reply] : #include <iostream> #include <string> int main() { std::cout << ... (by LB)
by md9405
Kronecker (direct) vector product
 
Hi! Does anybody know how to code the Kronecker/direct product of two vectors?? The direct product...
[3 replies] Last: Another option is direct calculation, which seems practical because th... (by closed account D80DSL3A)
by eapwf9
Randomly Remove Points From Array
 
Hey, So I am fairly new to programming with c++ and I was wondering if there was a way to set up ...
[2 replies] Last: Okay! That makes sense, could you explain why you used void there? I a... (by eapwf9)
starting problem
 
yesterday i installed g++ from the following page. https://github.com/kennethreitz/osx-gcc-installe...
[3 replies] Last: Now that you have gone past the first hurdle, start using > g++ -std... (by JLBorges)
GCC lambda optimization issue?
 
The following function causes my program to stall if the program was compiled with either -O2 or ...
[8 replies] Last: What's wrong with this? unsigned char c = 0; do { ... (by LB)
How do I pause after outputting results?
 
I mean on the executable file. It just displays the results and quickly flashes away, cin.get() ha...
[4 replies] Last: It is very problematic to use cin.get(); and similar functions to pa... (by Peter87)
New to Windows GUI
 
Alright, I have a question... Is there any significant difference between programming the windows G...
[1 reply] : It's not just the difference between programming a GUI "by hand" or us... (by plexus)
by tanja
reinterpret_cast: unsigned char to unsigned int
 
hello, i have following code to print out the content of a pointer in hex and dec std::ostrin...
[4 replies] Last: thank you very much (by tanja)
Invalid read on exception
 
Hi, I catched an exception and want to log it on the console. This works as exepcted, but Valgrind...
[7 replies] Last: Solution is simple and easy: don't mix delete with free, i.e. if somet... (by closed account D4S8vCM9)
Class Constructor with string const pointer as parameter
 
I know my product.cpp constructor is wrong but how can I set my private variables. //PRODUCT.h...
[2 replies] Last: Or even better, use std::string and initialiser lists: #include <... (by Lodger)
Recursive function for "vowels",Recursive function for "sum of array"
 
Hello, Will you please write a c++ program which includes all functions, 1) Recursive function...
[3 replies] Last: I see, here is one that works well long BackwardNum(long num) { in... (by Smac89)
Using Templates, how to?
 
This is my .h file #ifndef CONTAINER3_H #define CONTAINER3_H #include <iostream> #include <sstream...
[7 replies] Last: I see now , so if I give _count a constant type of int . and change... (by eibarra)
merge two linked-list without sort
 
i write code that's merge two linked list without sort I think it's little have lot of code have an...
[1 reply] : Post main code here and implementation of node (by Smac89)
by Phiru
What are they for??
 
I am reading a C++ book and have a question. class A { A(){} A(const A&); A& operator=(co...
[4 replies] Last: The book I am reading doesn't explain what they are and how they work... (by Phiru)
February 2013 Pages: 1... 1314151617... 43
  Archived months: [jan2013] [mar2013]

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