Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
66% Quality Score
Upvotes Received
10
Posts with Upvotes
8
Upvoting Members
7
Downvotes Received
5
Posts with Downvotes
4
Downvoting Members
5
1 Commented Post
~25.7K People Reached
Favorite Tags

81 Posted Topics

Member Avatar for 143wena

This thread is tragic. Wouldn't be a bad substitute for the end of Romeo and Juliet :P All of you, newbs, above, seem to have no lust for C++. You can only truely understand it if you appreciate it, and you can only appreciate it if you want to. Wena, …

Member Avatar for Aldrin_3
0
695
Member Avatar for pspwxp fan

Hi, Whats currently the hot tool for developing simple games for the Internet? I'm talking about games like the ones you might see on Miniclip.com, freeaddictinggames.com or newgrounds.com. I want to start developing some games. Also, if you a tool in mind that is not "hot" but one that you …

Member Avatar for bugz313
0
129
Member Avatar for pspwxp fan

Hi, I'm making a windows console application that can create and terminate processes, and stores their start and end time. It works fine as long as I start and end the processes from my application itself. However, if I close the child process, eg notepad, using it's own 'X' button, …

0
77
Member Avatar for ArpitJ.25

A user-defined function is one that you create yourself. Read more here: http://www.learncpp.com/cpp-tutorial/14-a-first-look-at-functions/

Member Avatar for basit_3
0
116
Member Avatar for pspwxp fan

Hi Daniweb, I'm making a shell-ish console for my Operating Systems class. Trying to get the shell to Terminate a process given a process name. Ever since I made the following addition to my code, this error is coming: `Program received signal SIGSEGV, Segmentation fault.In __gnu_cxx::__exchange_and_add(int volatile*, int) () ()` …

Member Avatar for rubberman
0
601
Member Avatar for pspwxp fan

Hi Daniweb, My project was to create a basic shell. One of the features being if we enter a command and input a path to an executable, CreateProcess is invoked to start the process. This works fine enough for console applications: the process starts, runs, and then terminates, upon which …

Member Avatar for pspwxp fan
0
425
Member Avatar for pspwxp fan

Hi Daniweb, I'm making an Online Clinic project in Wordpress. I want to create a database system such that there one user account (master account), using which a user can either make a doctor account or several patient accounts. Basically, 3 tables, Account, Patient and Doctor. I can make the …

0
60
Member Avatar for pspwxp fan

Hi Daniweb, I have a checkbox that is dynamically generated using php using inputs on previous pages. <form name=partselect action="JavaScript:checkmate()" method="post"> <table> <?php while(oci_fetch($stmtgp)){ $idpart = oci_result($stmtgp, "PART_ID"); $stmtparts = oci_parse($conn, "select * from PARTS where PARTID='".$idpart."'"); $execparts = oci_execute($stmtparts); if(!$execparts){ echo 'unable to fetch part'; } oci_fetch($stmtparts); $tpartcost = …

Member Avatar for iamthwee
0
381
Member Avatar for pspwxp fan

Hi Daniweb, I am working on an assignment that is aimed to help us understand floating points. The current task is to take a number as input, example 3.5, or 2.25 etc and output it as a binary decimal, ex 11.100000000, 10.0100000000. To do this, I am taking the whole …

Member Avatar for pspwxp fan
0
337
Member Avatar for pspwxp fan

Hi, My task is to create a library/precompiled header for use with MASM. I am using Code:Blocks. I have googled quite a bit and haven't come up with an appropriate solution. I was hoping someone could point me in the right direction. This is what i have done so far: …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for pspwxp fan

Hi, My instructor has given me a project as: Car Maintenance System Data Entry Forms Setup: a) Vehicle b) Maintenance Types c) Parts d) Labor Transaction: a) Work Order Reports a) Printed Output: i) Work Order b) Information Outputs: i) Vehicle Maintenance History, ii) Labor wise work orders Its vague …

Member Avatar for pspwxp fan
0
169
Member Avatar for pspwxp fan

Hi Daniweb, I'm new to Assembly level programming and have been given an assignment in MIPS. Having started to plan the assignment, I have come to a rather open ended question that I want your opinion on: given that one has only so many registers to work with on Assembly …

Member Avatar for Schol-R-LEA
0
286
Member Avatar for pspwxp fan

Hi, I am a student who is taking a Database course. I am running Windows 7 on a laptop with 4GB RAM. I would like your advice on what software to download on my laptop so as to be able to practice concepts taught in class. Since I am a …

Member Avatar for debasisdas
0
161
Member Avatar for YnnEnu
Member Avatar for pspwxp fan

Hello Daniweb, I am creating a project (using NetBeans for GUI) for my Data Structures and Algorithms course. The gist of it is as follows: -Take 7 letters as input -Display a valid word as output (And later, when this issue is hopefully resolved, several words) Basically a software one …

Member Avatar for iamthwee
0
593
Member Avatar for pspwxp fan

I am using NetNeans I have a JPanel that is supposed to show some already input data along with a progress bar while the remainder of the program carries out some lengthy processing (about 1 minute long). Once the processing is done, this same JPanel is supposed to be updated …

Member Avatar for JamesCherrill
0
575
Member Avatar for pspwxp fan

Hi, sorry for posting a second thread for the same project but as far as i can tell, the issue is completely different. My Netbeans project seems to be working with a "cache" of a certain class. It seems like this because I commented out all the code in that …

Member Avatar for pspwxp fan
0
264
Member Avatar for pspwxp fan

Hi all, I have been told that variables containing objects are basically just references to a memory locations that contain the object data. And doing something like this: TestObject o1 = new TestObject(..); TestObject o2 = o1; would make a new variable o2 that will simply point to the same …

Member Avatar for JamesCherrill
0
129
Member Avatar for jamil.baig
Member Avatar for pspwxp fan

The idea is to load an array of objects onto a JComboBox. I have a Class Tournament, which contains an array of Teams. I have serialized an intance 'a' of the Tournament class into a .dat file. try{ ObjectOutputStream oTourn = new ObjectOutputStream(new FileOutputStream(jTextField1.getText()+".dat")); oTourn.writeObject(a); } catch(Exception e){ JOptionPane.showMessageDialog(this, e.toString(), …

Member Avatar for pspwxp fan
0
843
Member Avatar for pspwxp fan

I have a JTable with two columns in my JFrame. The number of rows this table has should equal a number input in a JForm in a previous JFrame. I cannot find any rowCount mutator function (Using Netbeans), and upon further inspection, the rowCount property in the GUI design view …

Member Avatar for JamesCherrill
0
3K
Member Avatar for pspwxp fan

Hi Daniweb, Sorry if this sounds incredibly noobish, but i was just pondering seriously upon it. If the processer can handle only one instruction at a time, how does the computer seem to be doing like a hundred things at a time? It is performing the OS functions, it is …

Member Avatar for cmps
0
102
Member Avatar for mrnutty

YOU CONDEMN ME TO SINK!! lol, jk. But how many applicants are there? and, [quote]Time limit: 1s[/quote] Time limit for what? The program runtime? And i don't really understand the program I/O :(

Member Avatar for nezachem
1
673
Member Avatar for pspwxp fan

K. I've put up with this issue for long enough and have decided to solve it once and for all. Halp? For those who dont know what i'm talking about, its the damned VC++ error "Resource file *.ico is not in valid 3.00 format" ^^headache. Googling doesn't help. I made …

Member Avatar for pspwxp fan
0
1K
Member Avatar for The Dude

^Wtf... <Posted after a lot of hesitation seeing the above post =D V Has 3 balls

Member Avatar for codeorder
2
683
Member Avatar for pspwxp fan

I'm learning C++ from the book C++ Primer Plus. At the end of the chapter on loops, they want us to design a structure, allocate adequate memory for an array of such structures using new, then feed input data to it. I got this code: [CODE]#include <iostream> using namespace std; …

Member Avatar for embooglement
0
136
Member Avatar for The Dude
Member Avatar for rms360

[QUOTE=adaquyenpn;1028313]It's too complect[/QUOTE] K, so this topic was, like, 6 years old, right? And you effed it up with spam. Reported.

Member Avatar for khalil88
-1
613
Member Avatar for amia

[QUOTE=WaltP;1136971]OK. I did it. Now what?[/QUOTE] LOL :D @amia: Moms are good at doing homework for kids too :)

Member Avatar for restrictment
-1
89
Member Avatar for akssps011
Member Avatar for WaltP
0
173
Member Avatar for clutchkiller

[QUOTE=Ancient Dragon;1137157]Then that's probably the problem -- turn UNICODE off! To do that go to menu item Project --> Properties (the last item on that menu) --> Configuration Properties --> General. Then on the right side of the screen change [b]Character Set[/b] (third from the bottom) to [b]Not Set[/b] Also …

Member Avatar for Salem
0
111
Member Avatar for Austinnh

This happened to me when i used Dev-cpp. Thing is, its quite obsolete now as it hasn't been updated for quite some time. Switch to Code::blocks ;]

Member Avatar for Austinnh
0
3K
Member Avatar for snarb

Maybe Assembly might be able to do it...but you'll have to get really good at it. Assembly can interact with your hardware devices, its really low level.

Member Avatar for nats01282
0
101
Member Avatar for MKO

> I'm getting the following error when I debug this small test programm . I can't find anything wrong with it. Even on MSDN they come up with a two line sample code which generates that fault code. In other words, they have no clue either. I hope that some …

Member Avatar for Salem
0
127
Member Avatar for Burnout

Your code is kinda mixed up. Stuff that normally goes in cpp files is in header files, and stuff that normally goes in header files is in cpp files. Try desk checking your program. I've fixed it for you :) [code=c] //main.cpp #include <iostream> #include "player.cpp" int main(){ players(); return …

Member Avatar for pspwxp fan
0
126
Member Avatar for shishio1014

[url=http://www.codegear.com/downloads/free/cppbuilder]Borland C++[/URL] Although i would advise you to use an IDE. If you use cmd compilers, you will first have to go through the trouble of setting up the compiler (Which involves much more than installing it, believe me), then writing your code, then compiling. Compiling itself can be a …

Member Avatar for pspwxp fan
0
107
Member Avatar for Laxman_Cit

Be that as it may, sometimes I find it necessary to call system(). Especially when you need to clear the screen.

Member Avatar for thelamb
-2
96
Member Avatar for bhas_purk

Err, my programs work perfectly well on other computers :/ Although they are CLI based, but it shouldn't make much difference ;) Or, you can use a zipping program like WinZip to package your files up :)

Member Avatar for Ancient Dragon
0
124
Member Avatar for pspwxp fan

According the exercise, which makes us practice with vectors, i am supposed to write a program that allows the user to enter his/her favorite games, view them and remove any he likes. Obviously, to remove a piece of text, it has to be of the same case as the one …

Member Avatar for pspwxp fan
0
113
Member Avatar for MZohaibAkhter

Hello! I respect you, as you serve the nation i live in :)

Member Avatar for pspwxp fan
0
30
Member Avatar for efecto
Member Avatar for pspwxp fan

I use Dev C++ and had to re-install it for a reason. Ever since then, whenever i build any project, even a helloworld, i get this. Error -1073741515 Execution terminated This happens in the object file, *.o, according to the build log. No description of the error, nothing. Any ideas?

Member Avatar for pspwxp fan
0
276
Member Avatar for Yeen

Maybe because the second loop is not nested in the first one. Nest the second one in the first one. I've never programmed in Python, but this is similar to what happens in C++ :) Let me walk you through what is happening. First, x is declared as 1. The …

Member Avatar for pspwxp fan
0
100
Member Avatar for slim2hott

Hmm, interesting. I think its quite useless, though, what you want to do. There might be a way around, but meanwhile: [url]www.winprog.org/tutorial[/url]

Member Avatar for garthus
0
155
Member Avatar for RobEin

[QUOTE=RobEin;1028503]Hi Everyone, This is Robert and just an introduce to all, this is my first message on this forum. I'm 42 years old. I develope in VB (6, VBA, .net) and C# programme languages.[/QUOTE] O lawdy, are people here so old? <_< >_> ^_^ V_V *runs away :D

Member Avatar for alagirinetaxis
0
104
Member Avatar for aznswti85

First of all, please type in all the code between the CODE tags. Secondly, you used "String" instead of "string" to initialize givenFirst and givenLast. C++ is case-sensitive, which means that there is a difference between upper-case and lower-case letters.

Member Avatar for IT seeker
0
162
Member Avatar for kencol

Lol, i thought this was about C++ pointers :) Anyway, wrong section you posted this in. I guess you have to got to Control Panel -> Mouse -> Buttons. There should be a checkbox at the bottom about clicklock, you have to uncheck it ;-)

Member Avatar for pspwxp fan
0
37
Member Avatar for StaticX

Could you describe it a bit more? like what kind of game it is and, importantly, what methods etc the classes have? If there is any input method, you could always declare two instances, p1 and p2, and first get input for p1 like: [code]p1.getInput()[/code] Then when player 1 is …

Member Avatar for StaticX
0
82
Member Avatar for AirGear

You can also take a bit of time and learn API from here :) [url]www.winprog.org/tutorial[/url] It will take time to learn that, though.

Member Avatar for pspwxp fan
0
137
Member Avatar for restrictment
Member Avatar for SCoder1
0
168

The End.