General C++ Programming (Page 29)

matrix with verify
hello guys. I have created an n × n matrix. I have created a bool to verify that every nonzero elem...
[10 replies] Last: It is C++11. Should work with a current version of Dev C++. For inst... (by sangi89)
Store address in int
Hello Just searched around and haven't found any tips... Is it possible anyhow to store memory ad...
[3 replies] Last: It's possible but it's a bad idea. Why is it necessary? Is it actually... (by Moschops)
How to create this program ?
Add 3% to 17810(to get new answer) and then again add 3% to the new answer. Continue till 8 times.
[3 replies] Last: You want to use either a for loop or a while loop that iterates 8 time... (by Kurisutofaa)
by WhatIf
How to delete an entry from std::map by value?
What is the best way to delete (key, value) from std::map based on value? I'm trying to delete an e...
[2 replies] Last: Both should accomplish your goals, the first removes by the iterator, ... (by jlb)
Struct project c++
Hey im having trouble completing this project involving structures. here are the requirements: Writ...
[no replies]
by kev558
Can you produce a xy plot and mark coordinates on the plot?
I have a number of vertices for shapes defined by the user, e.g. 4 vertices for a square etc. Is it...
[6 replies] Last: Fair enough. Thanks for the help anyway, was worth a shot. (by kev558)
by Ruthra
why does return statement assigns value?
why is the return statement in line 13 assigning integer values to array. All it should do is to re...
[5 replies] Last: > above code causes an internal compiler error: in gen_type_die_with_u... (by JLBorges)
Vectors in if statements not working
I have a problem. I am trying to search for a letter in an entered variable. Here I have typed 'ABC'...
[3 replies] Last: If you're trying to compare to a single char, then use 'A'. 'A' is a ... (by Moschops)
by Ka1578
simulate holding down a keyboard key
EDIT: I was able to work around the problem by using Sleep(), but the question remains. _________ H...
[no replies]
problem returning a varable
I am working on a game of pig. Just the human player for now. whenever I try to return the player's ...
[2 replies] Last: You never set the playerScore to anything besides 0. player(play... (by Kurisutofaa)
Reading a vector of unknown length
Hi, I'm writing a program where I'm instructed to prompt the user for two vectors, both of unknown l...
[1 reply] : #include <iostream> #include <string> #include <vector> #include <sst... (by JLBorges)
need help with this program (student information manager with linkedlist)
this code stores information about students (with linked list) , i need to add these abilities to it...
[no replies]
by motyas
Allegro on Xcode
Hello guys, i've wrote a question before this in which i ask how to install Allegro on Xcode, but ...
[3 replies] Last: Not sure then. Did you try running with the code sample I gave in the ... (by MrHutch)
How to convert the address stored in the string to void* in c++
Friends, I have a address stored in string, I would like to convert back to original object, so...
[2 replies] Last: Awesome. Thanks a lot. its working. (by Raviexact)
Call C++ class from C#
I want to use this C++ class in C#. .h file contains: struct XMFloat3 { public: float x; float y;...
[no replies]
I need great Assistance
I'm asking anyone, who would be kind enough to help with with the programming codes for this project...
[1 reply] : I take courses that are not in my Computer Science's Major (i.e. Accou... (by chicofeo)
search word puzzle.....please help
I am writing a c++ word puzzle. I want to cin the size of 2d array and content array. Then, I want t...
[8 replies] Last: > I believe yours is more efficient JLBorges No. Both get_col() an... (by JLBorges)
by moot
Template Class Not Working
For this project, I need to replicate a Priority Queue and I can use an array, vector, or linked lis...
[4 replies] Last: @jlb, Thanks for the tip and help! (by moot)
Linked List Template Class
Hi everyone I am having a bit of an issue implementing a template linked list class with a merge mem...
[no replies]
by Ferris
Deleting nodes from a linked list
Hello, I've been trying to delete the first node from a linked list... I've written the pseudocode ...
[no replies]
Pages: 1... 27282930
  Archived months: [apr2016]

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