64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for johntech

I'm working on the game of Concentration. When you match 2 squares I want to blink a label caption "MATCH" say 3 or 4 times then hide it. The problem is I want the program to stop until the blinking ends then continue. I use a timer to make the …

Member Avatar for johntech
0
194
Member Avatar for dudegio

Hi everyone! I have traced the variables that stores the data. All i have to do is to save all these in a table. Pls help. Here are the variables and its content: Variables: $pmaster_id = get_param("master_id"); //test------------------------------ print "master ID = $pmaster_id"; $master_id = $pmaster_id; $id = explode("-", $master_id); …

Member Avatar for dudegio
0
329
Member Avatar for ghadahelal

hi all have anyone any idea how can i make my program read 3 or 4 files ,in a folder. i mean my input isn't only one file, it's a folder. can the C++ do that?

Member Avatar for ghadahelal
0
138
Member Avatar for CRD

Using Visuel Studio 2005 and the choices I have are as follows Could someome help me to understand what they are? ALT CLR General MFC SMART DEVICE WIN32 Any help to clarify what these choices mean would be Appreciated. Thank you Dick

Member Avatar for CRD
0
147
Member Avatar for civilr

Hey everyone I am new here and I found this site on google it looks pretty helpful and clean so I guess I am here to stay. However, I hope someone can solve my problem. I am trying to create an ArrayList with both a URI and FileInfo (file destination) …

Member Avatar for civilr
0
125
Member Avatar for Cruize_Invades

I heard that using VB 6.0 I can disable the start button. But I've search to found what code to be put but unfortunately i cannot found one. I also know that code for win98 differ from XP OS... So pls some one teach me... Thanks a lot..

Member Avatar for Cruize_Invades
0
123
Member Avatar for lacoste78

SO! I need finish this task to create a program able to read 3 sides of the a triangle in Tedit and analyse the results and give some answers such as: the triangle is an isoceles, equilateral or scalene...and show a picture according to the answer. Also calculate the height …

Member Avatar for lacoste78
0
76
Member Avatar for blazted

I wrote a hash table that takes a char as a key and for a test I am using a string for my value. It uses a linked list. But I am having a problem displaying the value. I have a function that displays the key correctly but the value …

Member Avatar for blazted
0
119
Member Avatar for Gorilla

My problem is: [LIST] [*]I've try many times with DataOutputStream, FileWriter but I cannot write intergers into a file as I wanted.[/LIST][LIST] [*]I seemed to succeed but after writing them into a file, when I open it with notepad, I can read it. They all tuned out to many strange …

Member Avatar for Gorilla
0
102
Member Avatar for Slavrix

my code was working, but when i added in a new section to enter playing against a computer player, it now hates me, and wont stop trying to kill me. [code=c++] //name: ******* //Lab: * //purpose: ******* //modification date:*********** #include <iostream> #include <cstdlib> #include <ctime> using namespace std; const int …

Member Avatar for Slavrix
0
93
Member Avatar for Mouche

I know printing primes isn't anything new, but (like always) I'd love to hear some feedback on how I can make my code more efficient and other constructive criticism. [php] def print_primes(r=10): primes = [ ] for i in range(2,r+1): prime = 1 for divisor in range(2,i): if i % …

Member Avatar for arsham
0
141
Member Avatar for aSa

Hi all, I have trouble with creating Windows Service serving as COM server I have created Service Application and com object in it, register and start it when i try to create com from client app - a new process of service is started. Question is: how do i avoid …

Member Avatar for aSa
0
120
Member Avatar for fredzik

Hi, The last time I posted I think I asked too many questions and the main reason that I posted got lost somewhere amongst other side issues. The main reason I posted last time is the following: # The following code is not a game, it is configured just to …

Member Avatar for fredzik
0
126
Member Avatar for tralfas
Member Avatar for assgar

Hi Multiple rows of dynamically created data is retrived from the database and displayed properly. When I get 50 rows displayed scrolling is necessary. The problem is when I scroll to see the items at the bottom of the list the rows get blurred (jumbled). To be specific at the …

Member Avatar for assgar
0
90
Member Avatar for Ospreyluvr

Alright, granted i am not taking the advice, i am starting with 3d. i have blender and gmax. also, i am looking into purchasing deled. i wanted to know if any body had basic code to make a 3d model move so that i have a better understanding. thanks!

Member Avatar for Ospreyluvr
0
117
Member Avatar for ghadahelal

h[I]i all ,[/I] [I]i have a program that read its input from a file in binary mode![/I] [I]now i nead to store this data and to compare it with another data.[/I] [I]which datataype can my input take.[/I] [I]also, the comapred stream is in this form 0004a4900[/I] [I]i made this stream …

Member Avatar for Narue
0
88
Member Avatar for ssgatbliss

I need some direction on how to split up code into a .h header and two .cpp files. [code] #include <iostream> #include <cstring> using namespace std; //function for displaying name void DisplayName(char * Name){ cout<<"Name: "<<Name<<endl; //print name on screen } int main(){ char first_name[50]; //static array for holding first …

Member Avatar for ssgatbliss
0
235
Member Avatar for Ospreyluvr

I am REALLY interested in game development. I have been looking at a lot of 3D software. I don't know whether the more expensive, the better, or if there is a cheap 3D program that still is good. Also, which should I start on, 2D or 3D, or does it …

Member Avatar for Ospreyluvr
0
157
Member Avatar for tonik69

[code] double M2_0(c,m) double c[160]; double m[16][5]; { int n; int s=0; for (n=0; n<16; ++n) { s = s + c[n+16*0]*m[n][0]; } return s; } [/code] can someone help me! error: c and m was not declare in this scope (this is the error in c++ but in c …

Member Avatar for tonik69
0
105
Member Avatar for badrobot

can anyone help me where the cin.get(); should be put? i cant view the final output... it was compiled successfully but i cant view the output when it runs.... #include <iostream> #include <cstdlib> #include <iomanip> using namespace std; typedef int Bool; // converts 0 to 'S', 1 to 'M', etc …

Member Avatar for Narue
0
282
Member Avatar for bRutal!

Hello I'm just wondering what kind of practice do I need, because I'm ending with C++ and moving to c#. What do I need to be prepared most and what is the hardest part of learning C# from beggining yours sincerely ! thanks :)

Member Avatar for bRutal!
0
100
Member Avatar for qaizaar

I have to make a simple JSP page that takes 2 inputs as file names and then when you hit submit these files a passed to another method that takes 2 file inputs. i just wante to know how to do this in the second page. the first page is …

Member Avatar for ~s.o.s~
0
106
Member Avatar for parthiban

Hi all, I'm a beginner and I tried to write a program to convert celsius into Fahrenheit but i have a problem due to type casting operation. That is even though i explicitly converted an integer to float number I'm getting only integer value . Here's the program : [code]# …

Member Avatar for parthiban
0
127
Member Avatar for quintoncoert

I am writting a program which receives args on the command line. Before they can be used however they must be converted to ints. I am using vc++ express edition and I have tried the _strtoi64 function but I cannot get the parameters to this function right. It is specifically …

Member Avatar for vijayan121
0
148
Member Avatar for DeOiD

hi i've been making a small site in my pc using Visual Web Developer 2005 express edition and everything works. when i upload the project to a server it starts to give some weird errors. some i've already solved, others... the one annoying me rigth now it's this one: [INLINECODE]Compiler …

Member Avatar for DeOiD
0
123
Member Avatar for dudegio

Greetings to everyone!!! I am editing a program in Php 4 generated in a CodeCharge 2.0.5. The last and only task i found trouble with is saving information of a billing statement to the database. I can display the information to the textboxes but i dont know how to create …

0
93
Member Avatar for ShawnMuller

Hi, I have a problem that happens very rarely. I have a calculation which ads (for example) -15000.00 to 15575.51 and saves the results to an oracle database. However, the reslut in the databse is 575.51000002 Both figures are loaded elsewhere from the database and either have 0 or 2 …

Member Avatar for ShawnMuller
0
99
Member Avatar for san_fran_crisko

Hello, I'm trying to add a JMenuBar to a JFrame and having alot of difficulties with it. I've searched the net and gone through a book I have looking for a solution to the problem, but everywhere tells me I'm doing it right, yet I've no JMenuBar at the top …

Member Avatar for san_fran_crisko
0
164
Member Avatar for imrickyduh

I graduated high school last year in '06 but unlike a lot of people I know what I want to do for a career move and not sure exactly how to pursue it. In my last 2 years of high school I was enrolled in Cisco Networking Academy I, II, …

Member Avatar for mariocatch
0
168
Member Avatar for bRutal!

Hi, I have a question 'bout c++ beep...It's very simple...Where can I find Music Scales for C++ ? I've searched google up'n'down without succes...thanks for any help :?:

Member Avatar for bRutal!
0
168
Member Avatar for BoneThugz

I'm trying to make a simple website as I'm just learning php. But reading through your forums all morning hasent brought me to what I'm looking for. I would liek to make a site with a simple input box to edit the end data of a hyperlink but I would …

Member Avatar for BoneThugz
0
94
Member Avatar for Sturm

Hello, I am doing a homework assignment and need a bit of help. I have to overload the prefix ++, postfix ++ operator, and the = operator for a circle class. Heres the code I have so far: [code] #include<iostream> using namespace std; class Circle { public: Circle(); Circle(int n); …

Member Avatar for Sturm
0
213
Member Avatar for san_fran_crisko

Hi, I am designing a puzzle game and I am trying to use the data that comes back from "getLocation()". It tells me the x, y co-ordinates of a button on the screen but so far I cannot export the x, y data to a String or int. There is …

Member Avatar for san_fran_crisko
0
170
Member Avatar for Blujacker

Hi, this is my code: [code] # -*- coding: cp1250 -*- import wx class Okno: def __init__(self,parent=None,id=wx.ID_ANY,title="Graf"): self.okno=wx.MDIChildFrame(parent,title="Graf",id=-1) self.okno.Maximize() self.okno.SetAutoLayout(True) self.okno.SetBackgroundColour("#FCFCFE") self.sizer = wx.FlexGridSizer(2,2,0,0) self.canvas = wx.ScrolledWindow(self.okno, id=wx.ID_ANY) self.canvas.EnableScrolling(True, True) self.canvas.SetScrollbars(20, 20, 1000/20, 1000/20) self.sizer.Add(self.canvas, 1, wx.EXPAND) self.sizer.AddGrowableRow(0, 1) self.sizer.AddGrowableCol(0, 1) self.okno.SetSizer(self.sizer) self.canvas.Bind(wx.EVT_PAINT, self.OnPaint) def OnPaint(self, event): pass if __name__ …

Member Avatar for Blujacker
0
197
Member Avatar for jaepi

Hello there, I'm practicing structures and accessing data in a structures. I have here a program that gets an input of string and int from a user. I placed it inside a loop where every time the loop refreshes, it changes the information it gets. My problem is, how do …

Member Avatar for jaepi
0
121
Member Avatar for jaepi

i have here a code that uses pointers to manipulate data in a class...i have a problem of how to show them on screen...i think im using an erroneous syntax...lol... [code=c] #include <iostream> #include <string> using namespace std; class MyClass{ public: string first_name, last_name, id_no; int age; }; int main(){ …

Member Avatar for jaepi
0
213
Member Avatar for fiddler80

I've been trying to create a program to put cemetery records into a database. In creating the Modify Records section, I have three files: pick_modrecords.php, show_modrecords.php and do_modrecords.php The pick_modrecord.php file brings up a list of records from the appropriate table and allows me to select a record to modify...which …

Member Avatar for fiddler80
0
124
Member Avatar for tlei

[COLOR=green]Hi all - this is my 1st post! I am working on a php/mysql app in which I need to generate dynamic html reports that arrange data from the db in a 3-level hierarchy. I'm able to write the big-honkin'-query that pulls all the data I need (from multiple tables, …

Member Avatar for johny_d
0
159
Member Avatar for dudegio

Hello everyone! Please help me on how to append the content of 1 table to another. I have coded but there is an error, please check if you have comments. If you have sample code the better. $result2 = mysql_query(INSERT INTO billingstatementhistory values (SELECT * FROM billingstatement); error is: [B]Parse …

Member Avatar for johny_d
0
105
Member Avatar for pyarticles

Hi all I created [URL]http://pyarticles.blogspot.com[/URL] for Python knowledge. Let's check it out please

Member Avatar for vegaseat
0
64
Member Avatar for bumsfeld
Member Avatar for vegaseat
0
2K
Member Avatar for jan1024188

Hello About half year ago I was interested in Direct3D 9/10 programming, but I released that DX isnt for me. Im not really interested into a game development. I know C/C++ basics, some Win32 API and some QT4 basics. Now, I'd like to try OpenGL. I am looking for a …

Member Avatar for John A
0
94
Member Avatar for randomFIRE

Hi. I'm trying to learn about using threads in java, so I decided to try to make a new thread in which an alarm rings while the rest of the program continues. My program is supposed to go about it's business graphing some data, and then if the data exceeds …

Member Avatar for masijade
0
147
Member Avatar for Ahmed Padela

Please help me to Write a program "to print the sum of the main and sub diagonal elements" Thanks all.

Member Avatar for Ahmed Padela
0
215
Member Avatar for JohnMG

Hello everyone, I'm just returning to C++ after a (very) long break. Ignore the form and purpose of this program, it's just an experiment to get me reacquainted with the language. I put my problem in the comments... thanks in advance. [code=c++]// Trying to get back into C++. // It …

Member Avatar for JohnMG
0
112
Member Avatar for Matt Tacular

Ok, so I'm making a program in c++ that keeps track of the number of objects you make for a specific class. It works, but I added a part to change the screen output at a specific number of objects and that's where it broke.... heres the program: [code]#include <iostream.h> …

Member Avatar for Matt Tacular
0
242
Member Avatar for vicky_dev

Hi... I have a static library, libxbgi.a. When I want to properly link a program with this library I have to write: [INLINECODE]gcc prog.c -o prog -lm -L /usr/X11R6/lib -lX11 -L. -lxbgi[/INLINECODE] It is cumbersome to write such a long command line. Is it possible to pre-link the libX11.a and …

Member Avatar for Narue
0
111
Member Avatar for laconstantine

Why both of the next examples are the same? Ex1 : int*(*foo)() = Function; Ex2: int*(*foo)() = &Function; Notice: In the second example i'm using & operator. That means that c++ takes function name as an address of it and this () dereferencing it just like in arrays?

Member Avatar for laconstantine
0
149
Member Avatar for wandie

I was wondering if you could help me out. I have a list box that has seltext and every time i want to select another item in the list it adds on. for example i select "/hello" then it appears as "/hello" but then i select something else it will …

Member Avatar for LouLouLou
0
166

The End.