General C++ Programming - August 2015 (Page 8)

Insert name into array
 
hello, i have A task which is following: Suppose NAME is an 8 elements array which stores five name...
[3 replies] Last: I would just make one array of 8 elements and fill it with all 6 names... (by AldenB)
by Nootor
string* Problem
 
I have a jar of biscuits and every biscuits are words. I have to put and take biscuits. The putting ...
[1 reply] : Where is Jar's constructor? What unknown value will be stored in the ... (by kevinkjt2000)
Read inside Network Card
 
Dear All, I would like to know if it's possible to read inside a Mac Card of a machine connecte...
[1 reply] : Please, do not double post. It clutters forums and spreads attempts to... (by MiiNiPaa)
by Winsu
I want to become a C++ developer;I need tips
 
I am an Industrial Electronic Engineer, I finished my degree doing a final proyect of a Algorithm to...
[10 replies] Last: I'm on that, I have three programms....what I'm wondering I fI would n... (by Winsu)
by AldenB
I need clarification on how class functions work
 
I'm getting this error when I compile this code. /*Error error C2440: 'initializing' : cannot conve...
[5 replies] Last: So if I changed add_day() to return a Date, it would compile? (by AldenB)
by aj3423
utf8mb4 encode/decode in c++
 
A third-part server echoes string to my client program, the string contains both utf8 data and unico...
[1 reply] : The reference you've read saying that UTF-8 sequences are 3 bytes or s... (by helios)
by yj1214
GUI/Multimedia library that supports flexible window set size function.
 
This is what normal set window size function looks like in most libraries... void setWindowSiz...
[3 replies] Last: Looking at the SFML source calling setPosition on your window goes dir... (by Hippogriff)
Program to find GCD
 
Here's a program i wrote to find the greatest common divisor of two numbers. I was required by the t...
[4 replies] Last: #include <iostream> #include <vector> #include <algorithm> #include <... (by JLBorges)
Sum of arrays
 
I need to do a sum of polinomies but I don't know how to do this sum method. I'd really appreciate s...
[1 reply] : First off, this code is incorrect: a.~Polinomio(); b.~Polinomio(); d... (by helios)
OpenGL: Passing a point light in a fragment shader
 
I don't know if there are any OpenGL gurus here, but I'm stumped. I'm trying to pass a point light ...
[2 replies] Last: Thanks for the reply. I hacked at this most the this morning and I'm ... (by mgoetschius)
by AldenB
Help with header files
 
I'm just beginning to experiment with header files an I can't figure out why my compiler is giving m...
[2 replies] Last: Thank you very much! I appreciate the complete and concise explanation... (by AldenB)
by AldenB
Issues with my factorial function
 
I'm working on this basic calculator program and although everything else works perfectly (I've test...
[2 replies] Last: I found it after a few hours (lol). I got it running and everything wo... (by AldenB)
Union assignment test
 
#include <iostream> #include <vector> #include <memory> #include <math.h> #include <cstdlib> #de...
[no replies]
Ungets
 
I need to write in C a function ungets(s) that will push back an entire string onto the input. Shoul...
[5 replies] Last: Write test-cases and exercise the code with a test frame. This may he... (by JLBorges)
by leourb
Pointers and Chars Arrays
 
Hi, I have to concatenate three strings using only pointers without any other kind of std::function...
[2 replies] Last: Thank you JLBorges! I wish one day to write in C++ as you have just do... (by leourb)
Array in c++
 
Why the array not created according to the array size? these are my coding: #include <iostream...
[5 replies] Last: You're welcome! (by leourb)
by leourb
Visual Studio 2015 CE vs. XCode 6.4 Debug
 
Hi everyone! I usually use both above mentioned compilers but I have noticed that this little code (...
[6 replies] Last: Thank you JLBorges! :) (by leourb)
by Wyboth
Question about iterator loops
 
Say I have a vector of ints, and I want to print each of them using an iterator loop. The first way ...
[4 replies] Last: In for (auto it = myVector.begin(); it != myVector.end() ; ++it) {... (by JLBorges)
by fiqmid
Prime Number Program
 
#include <iostream> using namespace std; int main() { int n=7; int j,count ; bool prime;...
[3 replies] Last: Anyone? (by fiqmid)
Incomplete char output
 
Hello, I would appreciate any help or suggestions with this program. I'm working from text boo...
[2 replies] Last: Yes it was the type, thank you for your help. (by application123)
August 2015 Pages: 1... 678910... 17
  Archived months: [jul2015] [sep2015]

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