- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 9
- Posts with Upvotes
- 8
- Upvoting Members
- 8
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Hello everyone! I have a server/client application running in 4 internet cafes, and i have a packet duplication problem in one of them. I have thoroughly examined my code and tested it in my lab and cannot find any bugs whatsoever. So on rare conditions some of the clients seems … |
|
Re:
[ATTACH=RIGHT]17428[/ATTACH]Almost every programmer knows his name. He's a living legend in computers. His name is Bjarne Stroustrup, and he created the world's most popular programming language, C++. I had a chance to ask him a few questions. The first three of the questions I came up with, and the remainder … |
|
Hello everyone. I would like to know if there is a factory default configuration for the WD My book world NAS. I am helping a friend that has one of those in their office and the web interface states that the capacity is 1TB but nowhere in the gui did … |
|
Hello! I would like some help with a piece of java code that i'm having problem. I have to make simultaneous tcp socket connections every x seconds to multiple machines, in order to get something like a status update packet. I use a Callable thread class, which creates a future … |
|
Just wanted to inform you that an advertisment i clicked on, leads to a non working link. Seems that the forwarded link is missing the semicolon (:) after http. I click on ads once a year maybe so i had to report it... :D This is the url behind the … |
|
Hello everyone! Is it possible to write a query which does the following : UPDATE db.table SET col1 = 1 WHERE col2='something' AND col3 IN ('a','b','c') ELSE SET col1 = 0 Meaning that the rows that don't match the where conditions will also be updated to another value. Note that … |
|
Hello everyone! I would like your help regarding this: I have a tuple vector which i must iterate through, and accessing the vector data to decide wether to erase or not the current vector element. My code : typedef tuple <int, CString, int, int> pc_data; vector <pc_data> pc_vec; //Assume that … |
|
Hi everyone. I would like to implement a counter using ajax that will act like this: The script will send a XMLHttpRequest every x seconds which will return a value from a mysql database. Using the current and previous value retrieved from the server, the script will increase the counter, … |
|
Hello everyone, I would like to use HP's system recovery (F11 on boot menu, not the windows application) to revert my laptop to its factory state. The thing is that i have created a disk partition to keep my data which wasn't present by default. Will the recovery delete my … |
|
Hi everyone! I am trying to set up a reverse ssh tunnel from a windows machine using Cygwin (openssh) , to a Linux server machine with static ip, so i can access the windows pc directly through the server from any other machine. My ultimate goal is to be able … |
|
Hello everyone! Just as the title suggests, i would like to know if it's possible to set the position of a dialog box. The default behaviour, is to appear in the center of the screen I use it this way : public static int confirmationBox(String infoMessage, String location) { int … |
|
Hi everyone, I am a C/C++ winapi developer and have to rewrite a "Dialog based" application in java, so that it will execute as an applet in any browser. My java skills are very few, since my knowledge is limited to past college classes. The application is not a large … |
|
Hi everyone. I am trying to help a friend with her macbook which faces a mysterious problem. The macbook cannot access certain sites like facebook and pinterest when my friend uses her home wifi connection. The problem appears both on safari and chrome. When she came to my home using … |
|
Re:
Hello everyone! So I wrote a program that simulates a dice game, almost like the game of Craps. I want to turn this normal console app into a dialogue based MFC. So I would create a button labeled "Roll" and the window would show two die being rolled. Here is … |
|
Re:
I am trying to write a server-client application for file transfer: the client written in Java and the server written in C++. Unfortunately I have the following error: "java.net.SocketException: Connection reset by peer: socket write error". Here is my code for client: import java.io.*; import java.net.Socket; public class Proba_binar public … |
|
Re:
For getting the share folder name i have been used the following code , here i am able to get the folder names . But the problem what i am facing is along with the share folder created by the user it gives some extra folder also , i don't … |
|
Re:
Hello, I've been working on some test OpenGL programs in C++ using SDL to manage sound, window management, events... etc Today I plugged in my external monitor into my laptop and found that *no* openGL program I had written would work with it plugged in, all I get is the … |
|
Hello everyone! I would like some suggestions on picking a game development technology/language. My requirements are : 1) On line / Web based game only 2) 2d animation only (for the time being). Using mostly sprites and modelling only simple 2d shapes. 3) No need for an advanced physics engine. … |
|
Re:
Hello! I'm new here, and I need some help. :) I am working on a program that has to write and read a binary file. I have to add lectures to it, they look like: **COURSECODE;COURSENAME;MAXAPPLICANTS;ACTUALAPPLICANTS;** I could write that in a file without any problems using `char*`. My question … |
|
Re:
I am trying to figure out what it would take to create software like [MaxiVista](http://www.maxivista.com/) or [ScreenRecycler](http://screenrecycler.com/ScreenRecycler.html). I have good experience with Java and C++, but these two programs are just awesome and over my head. Basically, they take a window from one computer and transfer it to another. Does … |
|
Re:
I'm not able to figure out how to **change** the **icon** of a **console application** in **Borland C++** (v5.02). Can you help me figure out? |
|
Hi everyone, i would like some help with a couple of mysql queries. I have a table of data which looks like this : ![grid1](/attachments/large/2/grid1.PNG "grid1") And represents a transaction log for players of a game. The ID is the primary key (auto incremented). DATETIME is the date and time … |
|
Hello i'd like to ask a quick one. -Mfc VC++ 6 application. -NO Unicode support by design. -Greek characters appear fine in all dialogs since OS is Windows Greek version (?) -Greek text is both hard coded in c++ source files and retrieved from mysql database. -ONE specific Edit Box … |
|
Re:
**Please help me out** I am trying to do the following: "Create a program that calculates prime numbers from a certain number X to a number Y. Modify the program so as to run two threads at the same time. The first thread will start counting from X to Y … |
|
Hello everyone! I have a rather mysterious problem. I have a mfc dialog based application (running on win xp sp3), and at the same time another mfc app that installs a global keyboard hook capturing the ESC key (this one is always hidden). SOMETIMES when i press ESC key (with … |
|
Hello everyone. As the title suggests i need to implement a type of timer based function inside a UI Thread in MFC. Although CWinThread is a UI Thread and has a message pump it does not have a Timer function as CWnd::OnTimer Is there any way i can implement a … |
|
Hello everyone! I am building a mfc dialog based application in visual c++ 6 and using mysql c api to connect to a database. What i need is a simple type of data grid to show mysql query results in a dialog. I do not need to edit, update, save … |
|
Re:
So in my program I have to use specific values obtained from an inputfile in different functions, and I couldn't figure out a good way to do this. I don't want to have to have the user input the file name for every function. I tried it this way, but … |
|
Re:
I've had a sudden surge of interest in an old (2007) program which is an MFC Dialog based app. So I'd like to spruce it up a bit, and one of the annoying errors is that its proper icon does not appear in the bar at the bottom of Windows. … |
|
Hi everybody! I am having some trouble running a detached process using CreateProcess function in C++. I have been using the following function to spawn processes in c++ for years now havnig no trouble. I have used it with console applications, mfc apps, dialog based ... etc : StartProc(char *callprogram, … |