No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
10 Posted Topics
Re: Steven Prata. He has a couple books on c++ Loved them. Simple to read and clear. | |
Hi everyone! I wrote code for the progress bar but the thing is that it is just an empty bar and nothing goes on. So how can make it update? [CODE] #include <windows.h> #include <commctrl.h> #include "Resource.h" //--------------------------------------------------------------------------- RECT rcClient; HWND hWnd; HWND hProgress; HWND hDlg; HINSTANCE hInst; int pb_pos; … | |
I need to make a program run just one copy of it using Mutex. But I coudn't find anything on using Mutex in c++. | |
How to make a program run only once. It could be any "hello world" program. It should say smth. (error, 2 console windows are not allowed) if the program is already running and shut down the second console window. (the first concole window should stay where it is) | |
Here's the deal. I need program to read from text txt file and then write numbers into one file and letters into the other... I figured how to read and write to file (using iterators) but I can't figure out how to make the program sort numbers from letters. #include … | |
I need to calculate the value of sin(sin...(sin(x))) for n times (n and the value of sin are input from the keyboard). That's is what I've came up with. #include "stdafx.h" #include <iostream> #include <math.h> using namespace std; double multipleSin(int n, double x); using namespace std; int _tmain(int argc, _TCHAR* … | |
I've been massing with this problem for almost a week. It's about DFS search in a binary tree. It compiles well but when i run it I get exitcode 216 error. Can anybody help? program prg; uses crt; type ptrnode=^node; node = record data: char; l,r: ptrnode; end; pnode=^rnode; rnode=record … | |
Pascal programming DFS(depth first search) and BFS(bredth first search) problems.? These are the algorythms for searching a tree strucutre or a graph. Could anybody show me (or send to me) where can I find these problems solved? (Programs need to be Pascal console apps and data should be read from … | |
Hi! Does anybody know how to write a Pascal app that would remove blank lines from a text file. function RemoveBlankLines(OldFile: string): string; var fi,fo: Text; s,NewFile: string; n: integer; begin result:=EmptyStr; if FileExists(OldFile) then begin //rename old file .bak, n:=Length(OldFile); while (n>1) and (OldFile[n]<>'.') do Dec(n); n:=Length(OldFile)-n; NewFile:=Copy(OldFile,1,Length(OldFile)-n)+'bak'; RenameFile(OldFile,NewFile); … | |
The delphi app should subtract two sets that would represent two graphs Hi there! I've got a problem that I can't solve. Can anybody help me? The app should subtract two graphs (in this case a graph is meant to be a set of points) here's the beginning. program assignment; … |
The End.