General C++ Programming (Page 2)

How to calculate an integral by Simpson's method (Spanish code)
This is the code: #include "mn_simpson.h" #include <stdio.h> //**************************...
[no replies]
Using ASM in C++
Hey Everyone, I holds a good experience in C++ but nowadays doing Assembly Language. Can Any One Tel...
[1 reply] : Inline assembly in C++ is only conditionally supported and if an imple... (by JLBorges)
by bpc123
Reading in variables from a struct (ifstream)
For some reason I can't read these stats into my program. Basically the beginning of this assignment...
[no replies]
Swapping Elements in an Array
I thought I'm done doing mg activity, but my professor said that we need to use a Temporary Variable...
[1 reply] : // swap array with array int temp = array ; array = array ; arra... (by JLBorges)
Game Server Code Problem
Hey guys, I am new arund here as you seen form my last post, there is going to be a lot of topics fr...
[9 replies] Last: Yeah I believe it does, youj just have to link the file in another .IN... (by Camouflage)
by embear
problems with code
hi all, I'm trying to use derived classes to create 3d shapes and output them, this is my header f...
[4 replies] Last: thank you, i have ran through it and tried to fix the little mistypes ... (by embear)
by davtk8
Reverse even words in a string
I'm trying to reverse every even word in a string (not all of it). But I keep getting an empty outpu...
[1 reply] : For loop is looping over the size of the string (line 11) line 15 sho... (by Smac89)
Zombie process
I am looking into how to create zombie process. They are created when parent process don't call wait...
[1 reply] : while(true) fork(); (by Konstantin2)
I have to make a program that takes several numbers into an array into a function, and send them bac...
[no replies]
Splitting numbers
I have the concept of the code that i'm doing. Which is having the number example:1234 returned as 1...
[3 replies] Last: Can i have a brief explanation of what this s = atoi(n%10) + s; ... (by lookerup)
C++ Program wont function with any number larger than 100, WHY?
#include <stdio.h> #include <iostream> #include <cstdlib> #include <ctime> #include <cstdlib> ...
[1 reply] : Ok, to be more specific. The array works just fine with 100 for size b... (by Chapelal)
Binary searching by a key containing two variables?
So I have an array of distinct pairs of natural numbers. That is, my array looks something like this...
[7 replies] Last: Thanks everyone :).. I managed to figure out a way to do this in O(log... (by sebihp2007)
by davtk8
Reverse alternating words in a string
I'm trying to create a small program to reverse every alternate words in a string. For example: Th...
[6 replies] Last: #include<iostream> #include<string> using namespace std; int main()... (by davtk8)
by yoga79
Read data file
Hallo all.. I am a beginner in C++ program...I want to ask you, if i have a data,how to write the c...
[1 reply] : Maybe you want to have a look at (by tcs)
by morv
Error : not declared in this scope
#ifndef ROAD_H_ #define ROAD_H_ #include <vector> #include <string> #include "Car.h" using n...
[2 replies] Last: You may find some more hints when looking for " forward declaration " ... (by tcs)
How to implement array-based listing and searching?
Background: I'm trying to open a text file from my computer and randomly output a random line of tex...
[1 reply] : Would you please explain line 36? I think I do not really understand ... (by tcs)
create a file and fill an 6x6 array with random +ev integers
guys .. help !! i`m really sucking @this:`c i need the help and really fast please...>.<" ...
[2 replies] Last: ... and really fast - please :-) (by tcs)
Prompt the user for two characters. Output the movies that begin with those two characters.
i have trouble printing out the movies starting with inputing only two letters. #include <iostrea...
[1 reply] : Could you be more specific as to what you need help with? Also, pleas... (by LB)
Android NDK
My attempts to make a simple android app completely in c++ have failed after I tried to instal andro...
[1 reply] :[quote=Android N... (by LB)
C/C++ help
I am a beginner in the C/C++ language, i have to write codes using the andd, nandd, norr, nott, orr,...
[2 replies] Last: Look up "return" command. When you use it the function stops working a... (by zoran404)
Pages: 1234... 66
  Archived months: [sep2014]

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