General C++ Programming (Page 31)

struct template in function template
Hello People, I want to use a function template which returns a structure template. The situation ...
[2 replies] Last: Thanks Cubbi. Yes, you are right, I should have used v .resize(column... (by dariodem)
Get audio input volume
Hi everyone, i already found this article: That reg...
[no replies]
Need Help Converting Strings from an Array into a char array (1-D).
Name | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |Total -----------------------------------------...
[7 replies] Last: You might want to check with them... Could be a good move as the exe... (by kemort)
by LongDo
Class and Object
I have some problems with my homework Consider the following definition of the class myClass <clas...
[1 reply] : struct A { static int i ; static int foo() { return i ; } }; int A::... (by JLBorges)
Analyse a beam(Part 2)
Here is the program: (sorry I can't get the code <> brackets to work!) //*********************...
[1 reply] : Refer this thread: (by kemort)
Union of two Sets
I am having trouble understanding how the union is working out. When the union occurs, my set 1 is t...
[1 reply] : I don't see anything right of but your + (union) operation seems funky... (by jonnin)
PPP2 Chapter 11 Exercise 16
I need to know how to check how many times numbers were entered and print the numbers out from least...
[13 replies] Last: Okay, the errors were taken care of, but now there's a logic error; he... (by DragonOsman)
Performance question (vector.size() in loop condition)
Hello People, In performance terms, ┬┐What is the correct/best way of doing loop control? for...
[12 replies] Last: Thanks for the useful links Cubbi (by dariodem)
Converting a string from an array into a char array help!
How do I turn a string that is stored in an array into a char array? I've found plenty of informatio...
[2 replies] Last: Duplicate post Bad (by kemort)
PPP2 Chapter 11 Exercise 5
These are the specifications: Write a program that reads strings and for each string outputs the...
[12 replies] Last: Thomas' one is perfect for me. Thanks, man. (by DragonOsman)
Binding an rvalue to cout
I am seeking a general-purpose way to bind an rvalue (such as a function return value) to cout. E...
[12 replies] Last: Yes, accepting a constant reference parameter is the most correct solu... (by mbozzi)
Snake game!!!
I set two if statements in the logic function in case i hit the wall or i eat a fruit represented wi...
[1 reply] : The ifs on line 103/107 are within the switch statement. They will nev... (by coder777)
two dimensional integer array: sudoku with empty space
Hello all, I want to write a function which solves Sudoku and for testing I declared a two dimens...
[2 replies] Last: Hello, yes -1 an '' are used for empty cells. The code works now but I... (by andre herg)
Why is the output empty?
#include <iostream> #include <cctype> #include <cstring> using namespace std; void mycode(char msg[...
[2 replies] Last: Thank you so much! (by Anne693)
what's wrong with this following prototype?
int askNumber(int low = 1, int high);
[2 replies] Last: You might be able to achieve what you want by overloading the function... (by cire)
3D array question
How are values visually stored in a 3D array? If I have a int a = {1, 2, 3 ... 18} FRONT: 1...
[1 reply] : c++ is row major, and everything is stored in 1 dimension. a 1d arr... (by jonnin)
by Murozo
C++ Basic Paint Program Video
Hello.Your Watch Like......
[no replies]
Help With C++ Project!
Heres the question! Bit Manipulation Lab 7) Allow the user to input 8 integer values all be...
[7 replies] Last: Here's a C++98 version of the same program # include <stdint.h> # inc... (by mbozzi)
How to add time in Milliseconds?
I'm making a linear search program and I can't seem to get the right time elapsed. This is my linear...
[7 replies] Last: thank you JLBorges, very clearly illustrated (yet again!) edit: i mus... (by gunnerfunner)
by Anasky
Physically-based rendering library
I was wondering if there is an existing library to perform physics-based rendering. So far I've foun...
[no replies]
Pages: 1... 293031323334
  Archived months: [feb2017]

Cannot post in this page. To post a new message, go to the first page.