Beginners - March 2015 (Page 7)

by fg109
Isomorphic Graphs?
 
My instructor told my class that we have to write a program that checks whether or not two graphs are isomorphic. I'm not asking for code, just wanted some ide...
[2 replies] Last: I read this: http://en.wikipedia.org/wiki/Graph_isomorphism The anal... (by fg109)
by oseri
Negative integer bitswitching
 
I'm wondering why does the following code loops infinitely : int temp = -4; while (temp) { temp >>= 1; } As I understand it, this loop shou...
[1 reply] : Your system is doing an arithmetic shift, and not a logical shift. T... (by Disch)
Trouble Building a DLL with Visual Studio
 
Hello everyone, i'm trying to build a DLL with Visual Studio 2010 Express. Everything works fine until i make the .def file as follow: DLL.def LIBRARY MaDL...
[1 reply] : The DLL that i'm building right now has quotes... ; My Extension DL... (by Jaybob66)
by Ciro
Declaring a pointer?
 
Hi I'm new to the forum, this is a question related to C, I'm finding the below line in a program: char * This is done just before a function. I'v...
[2 replies] Last: Thanks Peter, that was a program we are supposed to debug, it looks m... (by Ciro)
by Gi Pa
Simple_window/Graph.h doesn't work.
 
Hi guys, I'm trying to learn the grafic interface of c++. I've already installed the fltk libraries in MS. Visual Studio 2013. I should have done it well since ...
[19 replies] Last: Just wondering how you went with this. I was having the same troubles.... (by Kevin1987)
An issue after successfully compiling the program
 
This is my first post here but it won't certainly be my last. I am trying to do this assignment that my professor handed to me and the code compiles everything....
[7 replies] Last: Since variable judge is not initialized therefore m is holding a g... (by Atyab)
by jmag91
fun2code
 
Sent you a direct message! Check it if you can! Thank you!
[2 replies] Last: Dafuq are you talking about? (by TarikNeaj)
Quick question
 
I am trying to decipher the following code, it is intended to read a take a string argument which is the name of a file to read. public: Text() {} ...
[3 replies] Last: fname and ifs are just variable names used in your code. The fname var... (by Peter87)
Stringstream?
 
I need a better understanding of how stringstream works. What I am trying to do is write a code that sends data to an html page, but I'm not sure if it works th...
[5 replies] Last: Oh yes I understand now, I guess I was overthinking it since classes a... (by shareyourjoy)
Can somebody explain what for(;;) does in C?
 
Can somebody explain what for(;;) does in C? for(;;) { while (something) { } }
[3 replies] Last: it can exit by writing a break condition. (by anup30)
Returning to C++ (on a mac)
 
Hi there I went back to university and did a computing degree 6 years ago. It was a very "all round" degree where I learnt a little bit about a lot of IT dis...
[no replies]
by Lee125
Queue and Stack. Confuse???????
 
Can anyone expalin what is different between Queue and stack. Why in this example of queue they didnt use function front. In my understanding the difference b...
[7 replies] Last: A queue and a stack are both data structures which hold multiple eleme... (by Faison)
by Ned757
I know this piece of code won't work but can you help me make it work?
 
#include <iostream> #include <stdio.h> using namespace std; int main() { cout << "Hello world!" << endl; cout << "Do you wish to procee...
[5 replies] Last: Calling the getchar() function has a side effect, so it would be bette... (by Faison)
by SCB3
Finding it hard to use C++ for minesweeper
 
i
[4 replies] Last: What happened to your first post? (by Zhuge)
by jmag91
Help appreciated - Pass by reference (1,2)
 
In the Input function I am supposed to update the variables MilesDriven and GalsUsed. It says to do it by using Pass-By-Reference. Then, after completing that...
[21 replies] Last: The problem is on line 25: operator>> leaves the new line character ... (by coder777)
Which is the best program for c++.
 
please support your idea
[7 replies] Last: Planet's radius is "R". Also, 2 satellites were located(longitude and ... (by zorigoo12)
Converting string to stack<char>
 
Hello everyone, I'm working on a c++ assignment that requires me to push a string to a function, which pushes that string into a local stack<char>. Then the ...
[3 replies] Last: That seems to have worked, thank you! (by m0rteum)
HELP PLEASE URGENT :(
 
please help i need to make a program that will cout as a menu to choose from converter or calculator here's my sample #include<iostream> #include<math.h> usin...
[6 replies] Last: cout << "Copyright law protected if copied or edited without my permi... (by giblit)
how does a save file work? how do i create it
 
Gonna try to keep this short. Making a game similar to zork basically a text based rpg and need to save everything in the game into a save file at any given tim...
[1 reply] : Have you read the tutorial on files? http://www.cplusplus.com/doc/tuto... (by LB)
by zoyboy
need a little help figuring out what's wrong
 
I have an assignment where I'm supposed to figure out grade information for multiple sections. I haven't even gotten through most of it, because I keep getting...
[14 replies] Last: #include <iostream> using namespace std; int main() { int highsc... (by zoyboy)
March 2015 Pages: 1... 56789... 51
  Archived months: [feb2015] [apr2015]

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