- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 2
- Upvoting Members
- 3
- Downvotes Received
- 9
- Posts with Downvotes
- 5
- Downvoting Members
- 8
I know more than the novice but less than the intermediate programmer. if you have any suggestions towards coding or can help me with anything or you need someone to talk to im here. if you need any explanation on anything about my computer (like how…
- Interests
- C++, Html, would like to learn php. music: any except rap. preferably rock, metal,techno,and alternative.,…
- PC Specs
- 733 mhz, 512mb ram(one is buggy and won't let me boot into windows),rocking (well was a triple boot…
Re:
If you are a programmer than you probably know or at least know of C++ well now a company called Digital Mars is developing the D programming lanugage. [I] "D is a systems programming language. Its focus is on combining the power and high performance of C and C++ with … |
|
Re:
I have a question of how it would be possible to change the IP address to a randomly new IP address. How would I go about to do this ? |
|
Re:
A week ago today, the unthinkable happened. That's right, Gmail went down...for *two* hours. You would have thought, judging from the amount of chatter on Twitter that we were experiencing an epic attack, a horrible natural disaster, perhaps the end of life as we know it; but it was none … |
|
I'm trying my best to learn linked lists but am having a difficult time understanding them exactly any way debugger returns SIGSEGV Debug Info: [code] Registered new type: STL String Registered new type: STL Vector Setting breakpoints Debugger name and version: GNU gdb 6.7.50.20071127 Child process PID: 1572 Program received … |
|
Re:
[CODE]// A personalized adventure #include <iostream> #include <string> #include <iostream> #include <string> using std::cout; using std::cin; using std::endl; using std::string; using namespace std; int main() { cout << "\tGame Designer's Network\n"; int security = 0; string username; cout << "\nUsername: "; cin >> username; string password; cout << "Password: "; … |
|
Re:
I am a part time college student getting his butt kicked in C++. I dont know how to access the members of the class in this header file. How do I do it? And please use plain english. Thanks // Specification file for the Complex class // constructor included. #ifndef … |
|
Re:
Im brand new to C++ & Im having trouble with this program im writing i got all the way to the end of it working im just having problems using the setw function in reading and outputting from a file. I have my code attatched for what mine looks like, … |
|
im having trouble understanding why this won't work. I'm extremely new to php (my primary language is c++) [CODE]<html> <body> <?php if(strpos($_GET['codev'], 'ddd') !==FALSE){ if(strlen($_GET['codev'] ==3) { echo "<p>Welcome</p>"; } ] ?> </body> </html>[/CODE] |
|
Re:
Good evening Daniweb, I have another idiotic problem which comes from making an arrival subclass out of Event. I have a few other subclasses of Event and they aren't giving me any trouble. I have tried to copy/paste/rewrite to eliminate any stupid typos. Arrival.h:7: error: expected class-name before ‘{’ token … |
|
I wish there was an option in the "What are you posting" for tutorials hehe. But I guess I will just have to right it here :). If anyone else has any pointers (pun intended) let me know ;). Ok if your like me and were wondering how to accept … |
|
Re:
Here is the simplest program: [CODE]#include <iostream> using namespace std; int main() { cout << "hello" << endl; cin.get(); return 0; }[/CODE] When I ran it (using Dev C++), there is no output, just a blank screen. The problem seems to be from the "endl". If I delete it, or … |
|
Re:
The assignment is: A. Present a menu like the following: 1. Enter a char 2. Enter a string 3. Enter a float 4. Enter an integer 5. Display the sqaure of numbers from 1-100 9. Quit the Program Enter the Program B.The program should not quit until the user chooses … |
|
ok so my code will output the message its suppose to if it doesnt receive any arguments and im 100% sure the problem is the if statement with the argv[1] because i always have problems with char type for some reason. :( [code] #include <iostream> #include <string> #include <sstream> #include … |
|
Re:
[CODE]#include <iostream> using namespace std; class sMatrix { public: sMatrix(int,int); sMatrix (sMatrix&); int getR(); int getC(); bool rValid(double); bool cValid(double); void setEl(double,double,double); double getEl(int i,int j); int getVal(); void print(); void add(sMatrix&); private: int nr, nc; //number of row and cols int nent; //number of entries int nmax; //the max … |
|
Re:
Hi all, I am trying to write a small game with a tiled gameplay area. I have a vector of Tile objects - vector<Tile> area_tiles; - and I'm trying to add Tile objects to this vector like so: [code] Tile t(); // initialize new tile object area_tiles.push_back(t); // and add … |
|
MSG msg ; HWND hwnd; WNDCLASS wc; to me this syntax looks like msg hwnd and wc(all lower case) are variables is this right? and with the exception of wc would changing the other 2 change anything? |
|
Re:
Now, I am sure there are more than 3 problems with this thing, and it's been sort of butchered into pieces with me attempting to solve this issue. Regardless, outside of the three problems I'd appreciate any input. My book tasks me with creating a program for a zoo that … |
|
What I am trying to do is compare the contents of array s to the string name (for a filter) but it just continues and prints whatever goes through. I think the problem is with my if statement but I have tried everything that I thought was valid code. [CODE]#include … |
|
Re:
I already Know Ancient Dragon is fan of MSVS due to its debugging features and I use C::B because it is the only I have come to love after failing to love both VS Express and Codelite. So what do you love to use when it come to C/C++? Just … |
|
ok i think ive got this right i but i tried compiling an it spit out [QUOTE]error: expected primary-expression before ‘.’ token|[/QUOTE] any idea what this "primary expression is? ive tried single quotes and double quotes to fix it as i have this problem every time i mess with strings … |
|
I downloaded the latest version in the repository and unless the tutorial im following is incorrect in the #include function then im lost. here is the code im trying to compile taken from the tutorial. [CODE] #include <QtGui> int main(int argc, char *argv[]) { QApplication app(argc, argv); QLabel label("Hello, world!"); … |
|
Re:
I have been given the task of finding the complexity of the function used to find the kth smallest integer in an unordered array of integers. Below I have displayed the function I am analysizing. I have shown the steps as I understand them. Any help in understanding this would … |
|
Re:
I'm a java developer. Recently, at university, I have been assigned a task about network programming with C++. The specification is about create a distributed application (with a server and many clients). If they allow to use RMI in Java or .NET Remoting with C#, it's easy for me, because … |
|
Re:
Hello I'm trying to use taglib in my Qt-program but it won't work. With this code, it doesn't compile although it should because I just changed the parameter [I]a[/I] from the example included with the source. [CODE]void Test(){ const char* a = std::string("song.mp3").c_str(); TagLib::FileRef f(a); }[/CODE] When I drop the … |
|
Re:
Hi I'm new to computer programming. 'Im just needing to learn some basic c++ for a larger project. So if someone wouldn't mind guiding me through some basics on i/o streams. I need to able to open a .txt file saved on my c drive and be able to count … |
|
Re:
I've been trying for hours to find out how to display an inputed word backwards but I just can't figure it out. Could someone help me please!! Thank you guys for your time. |
|
Re:
Hey everyone I'm a college student taking semester two of C++ and we have a project using classes. This semester we are strictly using Vi to edit and compile my code. WARNING THIS CODE IS NOT THE WAY I WOULD PERSONALY WRITE IT, BUT MY INSTRUCTOR INSISTS ON THIS FORMAT. … |