General C++ Programming (Page 3)

by Bopaki
Is it possible to convert a program written in C++ to Java
I have the program below written in C++ and I want to have it in Java. #include <iostream> #inc...
[8 replies] Last: Here's another tip: One can edit the code tag to alter the line number... (by TheIdeasMan)
by Darven
VOCE multiple definition error
Hello, I'm new here, and I tried using VOCE ( to create a simple voice...
[no replies]
vector issue (1,2)
Trying to work successfully with vector. Initialization of vector to 1 million appears to work fine....
[24 replies] Last: @ technologist Check out these two results htiwirn and JLBorges: ht... (by TheIdeasMan)
by JFWong
Pointers Strings
int main(){ char *Statement = "Hello! How are you today? I am well, thankyou."; char *Replace_...
[1 reply] : I'd suggest using std::string atleast until you get used to memory man... (by AcarX)
[SFML] Checkers
How do I create a 2d array and move the checkerpieces? I only need to move the pieces forward and no...
[no replies]
Creating executable - folder
Is there a way of creating self-exetractor by already created program? I found a great method of ma...
[no replies]
Initializing loop control variable
Forgetting to Initialize (or re-initialize) the Loop Control Variable. If we depend on a loop contr...
[3 replies] Last: All you have to do is ask yourself, given the problem, what value shou... (by kemort)
by loixak
Doubt of using Strings in C++
Hi everybody! I´m new at C++ and I´m trying to separate the name and the surname inserted in a cha...
[6 replies] Last: Well, you increase your programming knowledge by actually writing code... (by Chervil)
by Xam
Electronic voting
Hello everyone. I have to do a program for electronic voting. It supposed to have a file data where ...
[1 reply] : Hi, how to relate the user's id card to his personal information on ... (by programmer007)
by Tyr0ne
Ok, so I have a socket program and when I do a call it hangs for some reason here is the code and I ...
[1 reply] : You should consider using the code tag. accept() is a blocking call (... (by AcarX)
by cotro
Converting char to float to use in image processing.
Hello, I am currently reading images stored in the targa file format so that I can apply some kind o...
[2 replies] Last: It is a float. I was dividing two integers. Thanks for the correction. (by cotro)
switch statement
is the switch a loop, a conditional, or a subroutine construct or all of the above, or none of the a...
[2 replies] Last: A switch is a selection statement and is 'none of the above'. http://w... (by kemort)
Reading text data into vector of vectors
I have written into a text file using a string vector of vectors. Now i want to read a user record (...
[3 replies] Last: What I mean by table-like format is: col1_description col2_descripti... (by AcarX)
Array to store value each time calculated by equation whenever the function is being called
Hello everyone! I am new to c++. I have to calculate a value through an equation and store that valu...
[17 replies] Last: thanks... :) (by programmer007)
by nughi
Load file + encrypt/decrypt then read it
Hello,I have some issues when load a file and then wanna read the file with encrypt/decrypt method ,...
[3 replies] Last: think about malloc and delete (by Necip)
by ozae
no default constructor available
hello everyone i am trying to do something and the code below is part of my program but it says no d...
[4 replies] Last: > do i have to replace my portion of the code with yours?? You don't ... (by JLBorges)
const unsigned char * parameter
I would like to understand 'const unsigned char *' function parameters. say, there is a library hav...
[1 reply] : If a function accepts a 'const T *', it means that the function pr... (by helios)
by prako2
Whats wrong here?
#include <iostream> #include <stdexcept> #include <stdio.h> #include <string> int main() std::s...
[3 replies] Last: >Where I need brackets You need curly braces around the body of the ma... (by Danny Toledo)
my new Event class: template variadics and how test a valid function\lambda (1,2)
see my class: template<typename...a> class Event { public: std::function<void()> EventName...
[26 replies] Last: clang++ emits an easy to understand diagnostic: #include <iostream> ... (by JLBorges)
by prako2
Copy file to shell:startup without knowing UserName
It would be very insteresting.
[no replies]
Pages: 12345... 14
  Archived months: [may2016]

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