Shell doesnt run regedit
When I type "Shell("CMD.exe"), it opens command line, but when I type "Shell("C:\Windows\regedit.exe")", it says "File not found"...I tried type "C:\Windows\regedit.exe" to Win+R window and it works,...
View ArticleUndeclared identifiers
I have a few errors in my code here they are, my question is how do I fix the undeclared identifiers? Error 1 error C2065: 'currTimeStamp' : undeclared identifier c:\users\owner\documents\devry\gsp...
View ArticleProblem with blur function in GWTquery
The following code attaches a new element with every subsequent click on the 2nd div. With each adding, the focus is set to the added element, so that it is ready for blur methods (I am setting the...
View ArticleC++ data file handling doubt
consider the following program #include<iostream.h> #include<fstream.h> void main() { int no; ifstream fin; ofstream fout; fout.open("create,dat",ios::app); fout<<"What is your fav....
View ArticleImage Steganography in Java
I am writing a Image encryption program in which I encode a string inside the image. I am working with .png images. Encoding is performed by following steps: 1. Pixels of the image are stored in a 2D...
View ArticleExecuteReader: Connection property has not been initialized.
Hi, I am designing a login page using C#.net as front end and MS ACCESS 2007 as back end. During runtime I get an error "ExecuteReader: Connection property has not been initialized." following is my...
View Articleneed good project ideas in c++.
Hi, I need good project ideas in c++. This is for my cousin and his only aim is to shine in his class with this project. Please help
View Articlehelp making a main menu
hi all i need some help i just can't get my code to work. i want to make a main menu using bool to switch from one screen to the other here is my code using System; using System.Collections.Generic;...
View ArticleShifting Elements in a Array
I have a high score list for a text based java game and I want my high score list to show the scores for the ten recent players. So technically itÂ’s not a high score list, itÂ’s just a list that shows...
View ArticleHow to display the amount of digits in a number?
Ok, say I have y = 101.333; How can I display how many digits there are before (3 in this case) and after the decimal point (3 in this case)? Can we possibly use the DecimalFormat class to do this? If...
View ArticlePerfect Shuffle Program Problem
I'm coding this for a class (yes, this is homework). I'm just lost as to what to do to get it to perfectly shuffle the way the assignment wants it to. I've done all of the coding, even compiled and ran...
View ArticleHow To Remove HTML Code To View Just Text
Team, I am under going research how to delete the HTML Jargan so you are left with just the text from a website, is this something that can be done or is it not doable I can display the text of a...
View ArticleCorrect way to use box2d ContactListener for specific contacts?
I need to know when a bullet and a player have contacted. This is the code i am trying to use. The problem is, i get a "access violation reading location 0x000000" error for any collisions, like bullet...
View ArticleCreating a sidebar for Windows 7 - how?
Hi all, I'm trying to make a sidebar for Windows 7, much like the Google Desktop sidebar. The Google sidebar has functionality where when you open it, it seems to resize the existing windows on your...
View ArticleDirect2D vs Direct3D for a 2D Game
I'm looking into 2D graphics APIs for a simple 2D game, and am wondering whether to use Direct2D or Direct3D (and just use quads). From what I've read, Direct2D is layered on top of Direct3D anyway, so...
View ArticleFinding common elements between arrays and storing them
Hello i'm a c++ beginner and i'm stuck at this, so long i've been using this code int sizeA1=sizeof(array1[3])/sizeof(array1[0]); int sizeA2=sizeof(array2[3])/sizeof(array2[0]); int...
View ArticleExpression expected error
This the element from the website : <a href="javascript:void(0);" onclick="likepage('112581','ImMrClassy');" class="followbutton">Subscribe</a> And this the code for thing I am trying to...
View ArticleFPS not displaying correctly
I put some code in to display FPS in the corner... but i can't seem to get it to display the FPS... i have some code in Update() and i think it should work, but im may be doing something wrong. maybe i...
View ArticleI get this error Error: Expression expected.
This the element from the website : 1 <a href="javascript:void(0);" onclick="likepage('112581','ImMrClassy');" class="followbutton">Subscribe</a> And this the code for thing I am trying to...
View Article8 queens 1 dimensional array
I have to write the program 8 queens. where the out put looks like Q****** **Q**** ****Q** ******Q *Q***** I have to print out all 92 solutions. I am not even sure if I am on the right track. I get...
View Article