General C++ Programming (Page 15)

by Luthor
help: list<struct> of list<string>
 
Trying to create a list that contains multiple keys with multiple content for each key. Do not want ...
[9 replies] Last: Since memory is an issue, consider using forward_list instead of list.... (by dhayden)
why reinterpret_cast works while memcpy() not
 
I have a char array char* array which contains 3 float variables (in binary) and I want to extract...
[3 replies] Last: Sorry, I added wrong topic name, the correct is: why memcpy() works wh... (by warchief)
by ahaana
getting error: invalid conversion from 'TTcell (*)[30][30]' to 'int' [-fpermissive] int insertdata (cl)
 
#include <iostream> #include<string> using namespace std; struct TTcell { string days = ...
[4 replies] Last: Lets have a function declaration: int foo( bar ); What is the 'foo'?... (by keskiverto)
by yurmom
need help range function
 
I need to come up with range function that should take 2 parameters 1d int array and the number of e...
[1 reply] : Hey, welcome! Code tags <> to the side help a lot esp as your code ge... (by jonnin)
I just want to understand
 
Hey guys please help me with this assignment we were given the other day. I have yet to understand ...
[1 reply] : What do you not understand? The formula or how to write C++? (by solarflare)
Need help with putting quotation marks around a value.
 
This program counts occurrences of a character upper or lower in a string. Need the char (toupper(c)...
[1 reply] : To add quotes within a string, you need to escape them in your code. A... (by Ganado)
FINDING LOWEST VALUE OF AN ARRAY
 
How could I find lowest value of array. then display student id void compare(string studentID ,...
[3 replies] Last: Personally, I would use the Standard Library because there somebody el... (by keskiverto)
for anybody willing to help a fellow buddy out --this is a assignment btw.
 
Write a range function: o This function should take 2 parameters: a 1D int array and the number of e...
[2 replies] Last: Start with the range function. You could have it just return the large... (by tpb)
fork in the road, VS versus self-compiled binaries
 
Am compiling OpenCV with Visual Studio 2017. Do I use the binaries provided (VC15) or do I create my...
[1 reply] : most libraries that are compiled for you are done well. Most. Someti... (by jonnin)
copy_if destination using an ostream_iterator remains waiting for input....
 
Hi, I have an unexplainable behavior in the following code: static bool begins_with_a(const...
[11 replies] Last: [quote=JUAN DENT]Cubbi do you know how this eof works in Windows? at t... (by Cubbi)
by kobex
libxlsxwriter
 
Hello guys :) I'm sorry my english is ... you know hehe :) I work with http://libxlsxwriter.g...
[8 replies] Last: Sorry I am unable to do so. I have no experience with git submodules. (by Thomas1965)
Need Help regarding With Josephus problem c++
 
Is there any Method to change a to z alphabets into Names(add by user and names more than ten or mor...
[no replies]
Priority Comparing using Queues
 
Recently I created a program using queues implementing priorities. I've managed to correct all erro...
[1 reply] : Firstly, look at the description of your problem: I've managed to cor... (by tpb)
Goto statement help
 
< } cout << "\n Enter 1 to rerun and 2 to exit \n"; cin >> topstatementnumber; while (1 == top...
[4 replies] Last: to simplify your life you could have used the switch() case function. ... (by LucianoPena28)
copy constructor/destructor issues
 
Hi there. I have code: #include <iostream> class CTest { private: int m_nData; public: ...
[2 replies] Last: Thanks (by icegood)
Encryption/ Decryption
 
Write a program to decrypt a file named “encrypted text.txt” by using the key found in a file na...
[3 replies] Last: Are you saying that you can't write a program to read a text file a li... (by tpb)
by Hugues
makefile for C++
 
# PATH srcdir=src/ bindir=bin/ docdir=doc/ savedir=save/ # VAR CC=g++ -Wall -ansi -pedanti...
[2 replies] Last: I have never made makefiles, I've just used other people's, but I just... (by Ganado)
Floating Error
 
So I have been coding this problem and I believe I found the error in the program but I cannot resol...
[1 reply] : Line 28: delete choices; should be delete choices; Lines 44-46: ... (by dhayden)
Recursion
 
Hello everyone! Here I have a code which should take an input from a file input.txt, for example an ...
[2 replies] Last: Thanks! (by itfreakas)
Pages: 1... 13141516
  Archived months: [apr2018]

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