General C++ Programming (Page 36)

select a file
Hiiiii everyone I am asking if there is a way to select a file thanks a lot
[8 replies] Last: Maybe try this ? (by Moooce)
Hash table of function pointers?
Is it possible to create a hash table of function pointers so that functions can be referenced by th...
[2 replies] Last: Thanks! Appreciate it. (by primem0ver)
Some help with sequential search algorithm
The details of the assignment is within the code. Basically its a simulated radio station holding a ...
[10 replies] Last: I have figured this whole thing out by changing the while loop to disp... (by dub1987)
problem with unary operator ++
In the program below i expected the value of b to 8. But g++ is giving an output of 9. Can anyone ex...
[2 replies] Last: In addition what Peter87 said. Even with straightforward implementa... (by MiiNiPaa)
Taking an input file and doing calculation
I am trying to work on a C++ program to calculate the quadratic formula using input files and classe...
[1 reply] : what is the format of the contents of your input file? (by tanezavm)
Need help with error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
I am getting this error when I try to run my program: 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: u...
[1 reply] : try changing line 6 from int main() to int _main() (by tanezavm)
Solving a linear system of equations using threads
Hi everyone, I am trying to write a code that solves a system of linear equations such as A*B=C. ...
[1 reply] : int main() { int count = 0; //Inputing matrix A ifstream... (by JLBorges)
by wyj216
Should I use vector or just double array?
I am programming about some numerical problems. I know that vector supplies vector operations. But v...
[6 replies] Last: > Somebody said that std::valarray is an unsuccessful class, and it's ... (by JLBorges)
by yevo
Error: expected unqualified-id before '.' token
Good evening. I am doing an assignment for my class. I am using codeblock. My assigment is to implem...
[3 replies] Last: Thank you. Peter87 and minomic. (by yevo)
need help for string condition whit a while
the code is in french but that's not the problem , string PseudoOK; cout << "vot...
[4 replies] Last: cin may represent not only a keyboard but also a f.e. a disk file or... (by tcs)
Rotating Sentences
Write your question here. INPUT / OUTPUT As input to my program, I will be given a maximum of 15 se...
[4 replies] Last: Yes I know... I left that part to you and showed just how to print the... (by minomic)
by srango
c++ memory allocation question?
question : I guess, this question requires some kind of memory pool and it needs to be allocated a b...
[5 replies] Last: in that case, what does the parameter "base" mean in create_range_all... (by cire)
Matrix allocation, initialisation and deallocation
This code throws "Access violation reading location 0xCCCCCCCC" exception. It occurs due to nullpoin...
[4 replies] Last: You haven't "solved it." You've only made it compile. The code is st... (by cire)
c++ function does not update a class' variables in recursive call
I'm trying to implement Tarjan's Strongly Connected Components Algorithm in C++. Here's how I gotten...
[1 reply] : (6. Make sure your testcas... (by ne555)
casting to rvalue
I keep reading std::move just casts things to rvalues. What I don't understand: How can you co...
[3 replies] Last: Expressions can be l-/r-/x-values, but cannot have a reference type Ob... (by Cubbi)
Having problem with maps/logic
So I am having this problem(mostly logic, slightly programing) I have am using a map to hold some...
[1 reply] : ended up fixing this by adding a vector to monsterClass to hold a list... (by kalisto2002)
Bipartite graph
Question -> In this question we are given number of bugs and t...
[2 replies] Last: Thanks Cire . I got the problem. (by ankur12106037)
Help with making an automated response genreator
Basically I have made a code that generates only one response, I have collected around 100 responses...
[11 replies] Last: What do you mean by "address this case"? Are you referring to gener... (by AbstractionAnon)
Help me with my coursework. PLEASE!
Hey there! I'll be really thankful if you help me with this task...I'm translating it from my langu...
[1 reply] : I would recommend using objects instead of structs. Structs are a bit ... (by Sh0es)
by Sh0es
Indefinite User Input Loop
In short, I'm trying to make a CLI for a project that can take multiple user inputs add I don't exac...
[8 replies] Last: Oh I use proper IDEs. I was just using IDEone for unit testing and dev... (by Sh0es)
Pages: 1... 3435363738... 55
  Archived months: [nov2014]

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