General C++ Programming - November 2016 (Page 7)

Boolean True False Help
 
I'm not sure what to do, kinda stuck so need your help. - I need to write a boolean function, Error...
[5 replies] Last: #include <iostream> bool valid( char c ) { return c == 'C' || c == '... (by JLBorges)
pseudorandomly generated integer values
 
Design and implement a c++ program which, when executed by the computer, fills an array with pseudor...
[1 reply] : 1. void SumArray(int stuff , int& theSum) { theSum = 0; int ii; ... (by Unkana)
saving object having string in file
 
When i am running this program having eroor in reading file please help me out #include<iostream...
[9 replies] Last: ok so all I did was make sure it would open the file. Is it reading t... (by SamuelAdams)
by fgz
is int assignment atomic in g++?
 
Hi, I need to wrote a data structure that is safe to write and read in a program with one writer ...
[2 replies] Last: > I don't understand what exactly is going on here. Can someone shed s... (by JLBorges)
How can I concatenate const char and std::string?
 
outputBrowser->Text += *(std::string*)ApiClass::GetName(*(int*)(i)) + "\n";; outputBrowser->Text +=...
[3 replies] Last: No, you need to #include <string> to use string operations in C++. If... (by Cubbi)
Range based loop for a set of a struct type
 
Using C++11 over here. Let's say I have a struct like this: struct Something{ string name; ...
[6 replies] Last: Woo, I completely forgot they can't be modified! Thanks!! (by anarelle)
numpy.where method in c++
 
Hi people, I want to implement the following python line in c++ c = numpy.where(a < b) T...
[no replies]
Recursive sort of linked list
 
Hi, I'm trying to implement a recursive sorting of a singly linked list, so here it goes> Algorithm...
[no replies]
by Faz777
Algorithm Running time Book/Reference
 
Hello guys: I am studying C++ in college now. I am trying to comprehend the idea of Algorithm Ru...
[no replies]
by Faz777
Heap Advantages and Disadvantages
 
Hello guys: I am trying to comprehend the idea of using Heap, let’s say min-heap or max-heap. ...
[no replies]
by bodx
Please Help correct this
 
I need to run a program that enables a company to obtain information of number of registered drivers...
[1 reply] : Please don't post the same problem multiple times. http://www.cplusplu... (by AbstractionAnon)
by Kyle M
Heap and queue decision (theoretical)
 
I was going over some code and was wondering what everyone's idea was on composition versus inherita...
[3 replies] Last: The Heap class is a functional class by itself (can be instantiated) w... (by Kyle M)
by ener
help me!
 
can u help me how to put music.mp3/tone in c???
[no replies]
Socket programming
 
I have a server program I want to add a simple feature to it. It's written in C. It is like a chat ...
[2 replies] Last: I tried to post the code, but it was a bit too long and it did not wor... (by JoshuaMostafa)
I have some problems with a program that have to print data on a text file
 
I'm sorry if this question is too simple for you, but i don't have good programming skills and ROS k...
[3 replies] Last: UPDATE: I solved the problem! The program didn't enter in the second i... (by Marcofon)
Difference between container.begin() and begin(container)?
 
My question is pretty straightforward, yet I wasn't able to find an answer in google. Is there any ...
[1 reply] : begin(container) is more generic: it works with C-style arrays, with s... (by Cubbi)
by jetkey
How to send a fully automated email with attachment?
 
Hello, I need a function bool SendMail (string to_email, string attach_filepath, string body =...
[3 replies] Last: I did something similar with POCO: https://pocoproject.org/ .Net al... (by coder777)
Help fixing this program.
 
i got this program that read IP addresses from a file and produce a list of distinct addresses and a...
[1 reply] : Why do you have to make your code that complex? (by Charotte)
How to convert my C source code to standard C source code
 
I wonder if there exists some software that inputs a C file and outputs a standard C-file. I would l...
[no replies]
Need Help with Function; program not working
 
Hello, Could someone direct me to the build a better understanding of functions. I need to create ...
[9 replies] Last: Not sure if you got the validation question answered but you could val... (by Kyle M)
November 2016 Pages: 1... 56789... 23
  Archived months: [oct2016] [dec2016]

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