No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
I have a son who's in grade 8 and he is show a great deal of interest in computer programming. What is a good book for him that is easy to read, understand and detailed? Money is not an issue. Thanks |
|
Re:
I was just wondering if there was another way to out put text besides cout? I know this probablt sounds weird because cout works perfectly fine and stuff, but I just want to know if all of the input/output has to be done in a cprompt window? Dose anyone know … |
|
Hi, I was wondering how to program a device driver for Windows XP in c++. For example, say I wanted to make a device driver for a mouse (I say mouse because that seems like one of the most simple everyday 'tools', and would seem as though it were the … |
|
Wow. It's kinda strange to even consider that I am taking part in the creation of an operating system... It really wasn't that long ago that I wasn't even capable of writing a functional program... I owe a good portion of my achievements to you posters here on DANIWEB (especially … |
|
Hi, I need to know how (if it is possible) to determine the sizeof a function... [code=c++] #include <iostream> using namespace std; int theFunction(); int theFunction() { int x = 0; return x; } int main() { cout << sizeof theFunction; cin.get(); return 0; } [/code] The above does not … |
|
Firstly, let me say that I am REALLY sorry that I am doing this, and I know that the c++ section of daniweb is not the section that is supposed to be used for posting general questions about daniweb... I'm just terrible at finding things. If someone could give/tell me: … |
|
Hi, I was wondering how to make a program listen on a port... lests say port 54321. All I want for it to do is listen for any message sent on that port, and then output "54321"... Is this as simple as I think, or is it something that is … |
|
Hi, I have made a program in c++ that inputs a file, and outputs the number of characters... I have placed this executable into my apache 2.2 server's cgi-bin directory under the name "TestApp.exe" how would I retrieve the output of this file by calling it with either PHP, or … |
|
Hi all, I have a few general questions that need answering: 1) Is there a way for an application to run a few final commands before it closes (this one is for all applications, not just windows) 2) Is it possible for a window to 'see' the application that sends … |
|
Re:
I hear alot of people saying not use: [code] system("pause"); system("cls"); system("title"); [/code] I think you get what I mean, so I'm trying to make functions that will replace all of these, and for my first installment I'm going to show you how to replace system("pause");. Here is what I … |
|
Hi, first let me say that I am particularly new to all things hardware. I have just upgraded my motherboard, and processor... My processor has been upgraded from a 32 bit AMD XP 2000 (1.667 GHz?) to a 64 bit AMD 3600+ -- Please forgive any inaccuracy in the exact … |
|
I have a powerbook ?G4?, with an unknown (as in [I]I[/I] don't know what it is) OS on it. When I boot it up it asks for a password. I set the password ages ago to keep my brother out, and now I don't know it. Is there any way … |
|
Re:
Can i know what's wrong with the below source code? can i put the variable x, y like this? How it can't work? [code=c++] #include <Windows.h> #include <mmsystem.h> #pragma comment (lib,"winmm.lib") int ,x,y; void CTestingDlg::OnPlay() { // TODO: Add your control notification handler code here UpdateData(TRUE); CString strFreq; CString strHL; … |
|
Re:
Hi to all , I have a problem i can't see my message box. Here is the TEST2.cpp [code=c++] #include <windows.h> #include <winuser.h> #include "TEST2.h" BOOL EndDialog(HWND hDlg,INT_PTR nResult); /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); BOOL CALLBACK ToolDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM … |
|
Re:
I quickly made this program in DEV C++ and have a few errors, heres a little background info on the program, there is a program at my school that allows the teachers to spy and take over your computer whenever so I did a little snooping and found that the … |
|
I need to know how (if even possible) to return a substring without having to return a local variable or space allocated by new here's some code as an example as to what I'm looking for. [code] char* substr(const char* str, int start, int len) { char retSub[len+1]; int pos=start; … |
|
I have newly made my bcstring class, and it is having some strange errors. I have given it the ability of dynamically allocating memory. If the memory to be allocated is already allocated, nothing happens (correct/non-problematic); If the memory to be allocated is greater than that that is allocated, and … |
|
I was wondering which would be better to use for the allocation of memory. The memory that is being allocated will almost certainly have to be reallocated several times. I am making a string class (how original :) and I am going to give it dynamic memory allocation (whether or … |
|
Re:
Just finished installing this linux-like os and had to post a message. Its kind of nice os, open source and free of course. It all fits on one CD and has several packages that can be added after installation. Its truly an os-for-dummies, It was even easier to install then … |
|
Re:
[URL="http://www.youtube.com/watch?v=hSg4Uummafs"]Humerous[/URL] |
|
I am going to build my own computer and I need some help fnding components. I need a VERY fast [U][B]AMD[/B][/U] processor (no more than $1500) I also need a very good [U][B]ASUS[/B][/U] motherboard (no more than $1500) And an excellent graphics card (no more than $1000) (Best I've seen … |
|
There is an amd processor that I believe to be oddly priced (But what do I know) here is a link [URL]http://www.ecost.com/detail.aspx?edp=33334904&source=EWBBASE&ci_src=14110944&ci_sku=33334904[/URL] Of course I have no intention of buying it. :) |
|
I want to know how to remove the EWX_TOPMOST property from a window. Example: I have a window 900x900 that is relevently important, 810000 pixels is quite a bit of wasted space, and I need to get to another application, but the "big window" is very persistant in thinking it … |
|
This may come off as a rather broad question, but I need to learn how to multitask in c++. I am developing a game, and to do so I need to learn how to program applications to run in realtime. (I want multiple characters to do things at the same … |
|
How can I open a link without opening it in a frame. I have my main frame being Frame1 My menu Frame is Frame2 <a href="mysite.com" target=???????> I want it to open it in the same window, but destroy all frames because it is the link to home so it … |
|
For any of you who have posted at my previous questions [COLOR=darkorange](this is mainly directed towards Ancient Dragon) [/COLOR][COLOR=black]you know that I have a tendancy to ask about things I have nearly no knowledge of.[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]This time is no different, I wish to know how to send a string … |
|
How do i find the dimensions of a button? Example: I want to find the width of the start button, and the height and then assign them to seperate ints. int width=WindowWidth(Start); int height=WindowHeight(Start); The abbove functions are totally made up, so they are just examples... |
|
I was wondering if it is possible (by this I mean, with a 'premade' c++ api function) to logon to a windows account (if there is I assume you must know the password) I use bloodshed, not vc++. |
|
How can i find the curret position of the mouse and then use them in mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0) |
|
I'm making a program that reads commands from a file and then executes them accordingly... Example: start hide -hides the start button... mbox Hello and welcome The Title -creates a message box would this be called an interpreter, or something else... |