General C++ Programming (Page 17)

Sort data
 
hello, i need help with this. i have to create a program that sort data as follow: if a entry pair d...
[10 replies] Last: <> edit tool will format code. (by jonnin)
Unless the output file is created with the correct name, its content is wrong
 
I expected the line inside the file, to have the name of the file, but instead the line contains the...
[2 replies] Last: Marvelous!. Solved! i've been having problems with handling string(s... (by BlakGerry)
Problem with fragmentation(Dynamic matrix Allocation)
 
Hi, i have one example with dynamic allocating 2-d arrays. The this generic function must return ...
[8 replies] Last: dhayden, I also concluded that. I was running it on server that has ... (by Tinjak Mirza)
This code won't run.. There is something wrong with "to_string"
 
#include <iostream> using namespace std; class Elevator { public: // Access specifier int cu...
[4 replies] Last: Line 14: You have a typo. * instead of =. You really should have a ... (by AbstractionAnon)
Looking for ODMG Library for OO Database
 
Hi, I'm looking to develop my skills on Object Oriented Database. I am trying to find a public li...
[3 replies] Last: There's a mac option to configure. To see them all, run ./configure ... (by kbw)
align cin and cout
 
Hello, I was wondering the easiest way to align cin and cout. For example some of my cout messag...
[4 replies] Last: TBH, if you just want to get 99% of the code working, you can start wi... (by salem c)
help with instructions
 
Hey everyone, I apologize for asking but I have these instructions for my assignment and I'm los...
[2 replies] Last: yeah I kind of figure it out. I have to have to getline() the sentence... (by Cjigsaw)
by colt
Practical solution to: "non-static reference member .... can't use default assignment operator|"
 
Hello, I have the following constructor: Bbox (float min_x,float min_y,float min_z,float max_x,f...
[11 replies] Last: > In member function ‘void std::vector<_Tp, _Alloc>::_M_insert_aux >... (by ne555)
How do I sort linked list using in-order traversal?
 
I am trying to make my inOrder function work for my test file. My function is supposed to order a st...
[10 replies] Last: That example actually helps a lot. Thank you mbozzi. (by nexteon)
why i get these errors? and how i avoid some warnings?
 
i have these code for i initializate the POINT structure: class Object3D: public SizePosition3D {...
[5 replies] Last: thank you so much for correct me. i never knew about the high preceden... (by Cambalinho)
How to put data from text files in a vector?
 
So i have an assignment which basically is to create a simulator for bench files which they have in...
[9 replies] Last: Thank you!! (by melowTheG)
Problem to connect Compile Instruction
 
Dear Community, I have a little Problem to connect Compiler Instructions for g++ on Linux Ubuntu Min...
[1 reply] : More info than "it wouldn't work" might be helpful. Try g++ -std=c++1... (by dutch)
cout arrays
 
Is there a way to cout an array? void displayPrice(double money ) { for(int i = 0; i < 5;...
[12 replies] Last: #include <iostream> template <typename T, size_t SIZE> std::ostream&... (by Furry Guy)
Help rewriting a 2d array
 
I need to split up a 2D array into a smaller 2D array, where every other column is rewritten to a ne...
[3 replies] Last: Got it! Thanks! (by wallid soukaki)
Using a double linked list in a different class
 
Format:https://www.geeksforgeeks.org/doubly-linked-list/ I am trying to get more comfortable with d...
[7 replies] Last: Thank you very much for your help. I appreciate it. (by ilikesweets)
*pointers with arrays
 
Hello everyone, If you have a pointer that points to an array and you are making a function. You...
[13 replies] Last: Hopefully, your array is not called "array", since this is a keyword. ... (by zapshe)
Different outputs using URLDownloadToFile
 
Hi, first time here, new programmer. I am trying to download online html pages and then search aft...
[3 replies] Last: Sometimes the html is generated by JS, which the browser executes but ... (by Learner2)
Primitive geometry and mesh generation in C++
 
Hello All What I trying to do is , generating some primitive 2d shapes and show in the gui with dim...
[3 replies] Last: Oh, I see. I'm not sure of a suite of programming tools for FEM. But h... (by Ganado)
Need Help Sorting Strings From Array By Increasing Length
 
So for an assignment, I have to mod a selection sort algorithm to sort an array of strings by increa...
[6 replies] Last: Integer vs string. You create string B. A copy. That is fine. Let me ... (by keskiverto)
by quakig
void** to float** or double**
 
Hi I am new to C++. Here's my situation. I have to create an array of array named m2DArray. It ha...
[7 replies] Last: Then at runtime I decide between float** or double** based on some lo... (by Enoizat)
Pages: 1... 1516171819
  Archived months: [mar2020]

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