132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Nickyu0712

I would like to know which would be a good graphics library to begin with. I am using Allegro, I want to know if this is good enough for 2D graphics like manipulating bitmaps etc.

Software Development c++
Member Avatar for slatk3y
0
108
Member Avatar for shanakaprabath

I wrote a program to write data in a text file to another text file .what i want to do is to open that modified second text file once I've entered data in to that

Software Development java
Member Avatar for solahere
0
1K
Member Avatar for picass0

i wanted to print random line from a file. i knows how to print out the whole file but doesnt know how should i do to print a random lines from a file!!! hope someone can give me some ideals or an example. thanks!

Software Development java
Member Avatar for solahere
0
83
Member Avatar for jmgmail

I am trying to create an application. One of the task is to insert a row into a DB. I am using db express 5 with visual studio 8. It feels like I have done everthing under the sun, but still to no avail. I know I'm missing something somewhere …

Software Development open-source visual-studio
Member Avatar for lighthead
0
123
Member Avatar for Brandon21

Hi Sir, please help me with my code I've already finish the sequence. this is my part : [CODE]#include <iostream.h> int main () { unsigned long int a = 0; unsigned long int b = 1; unsigned long int c; int y = 2; int x = 2; cout << …

Software Development c++
Member Avatar for DaBunBun
0
128
Member Avatar for baula

Helo frndz, I need a ebook named 'Starting Out With C++ From Control Structurres Through Objects by Tony Gaddis"...If anyone has this book in pdf or chm format, plz PM me to --snipped--. I badly need this book... Thnx Arif

Software Development c++ pdf
Member Avatar for DaBunBun
0
137
Member Avatar for joker1379

can someone help me wit this, why does my form becomes unresponsive when i execute this code: [code=c#] private Thread trd; private int y = 0; delegate void MyDelegate(bool show); private void button1_Click(object sender, EventArgs e) { trd = new Thread(new ThreadStart(this.ThreadTask)); trd.IsBackground = true; trd.Start(); } private void ShowProgressBar(bool …

Software Development c c# c++
Member Avatar for serkan sendur
0
106
Member Avatar for Merovingian

Does anyone know if you can use HttpWebRequest in a Windows Service? I have a small app that checks an IP, works perfectly as a Forms App but does nothing when I convert it too a service. Heres my code: [CODE]Imports System.Net Imports System.IO Public Class Service1 'declare timer Private …

Software Development vb.net
Member Avatar for Merovingian
0
396
Member Avatar for gcah

Can anyone help with this program. Both the functions work fine separately but when for example, I tried to use "if" for simplicity the islower came out as 0 when all the characters were printed out, because it's second in the flow of control. It would also help if I …

Software Development c
Member Avatar for gcah
0
153
Member Avatar for xiikryssiix

i dont really know whats wrong with this, but its super basic. im not done writing the program yet, im still missing some input prompts for the user, but as i am testing my current program, i keep getting an error message that says line 70 - name lookup of …

Software Development c++
Member Avatar for mrjjkalyn
0
114
Member Avatar for Aiban

Hello. As a new python student we all tried the password program Mine looked like this :) [code] def Password(): password = ent.get() if password == '12345': ent.delete(0,END) ent.insert(0,'Welcome Back Aiban') else: ent.delete(0,END) ent.insert(0,'Incorrect') [/code] ok ... it does it's job and shows me when i get it right or …

Software Development python
Member Avatar for snippsat
0
108
Member Avatar for xiikryssiix

this is weird to explain in the title alone, but i created a program below that works and compiles properly. it does everything i need it to do. user inputs however many scores he/she wants. 6 scores get calculated for the desired calculations. if user inputs more than 6, the …

Software Development c++
Member Avatar for Sky Diploma
0
215
Member Avatar for Shaitan00

I have a little situation that I can't seem to resolve and was hoping someone might have some suggestions ... I have a Windows Service (Serv.exe) which runs under LocalSystem when a user is logged-on (it is only running when users are logged-on), this service is responsible for performing various …

Software Development c#
Member Avatar for angilbert
0
207
Member Avatar for Anon17

Hi. I have a function which checks for a placement of a substring in a buffer after recieving it over TPC. It checks for the value up until a '&' appears in the string (As the value can be any length). However, my program crashes if the packet has no …

Software Development c++
Member Avatar for Anon17
0
168
Member Avatar for swinefish

Hey all I'm having trouble updating my ui across threads using WPF. Having learnt a fair deal about thread yesterday, I find myself stumped now by the Dispatcher. I've already used the dispatcher once, to check the status of a radio button, as follows: [code=c#] if ((Boolean)this.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new noArgsDelegate(productIsChecked))) { …

Software Development
Member Avatar for swinefish
0
189
Member Avatar for procopio

Hi, does anyone know how to access a sql .mdf file directly using c# without using SQL server. I am planning to make an portable application with a database on a flashdrive, i really need some help.. thank you :)

Software Development c# sql
Member Avatar for procopio
0
68
Member Avatar for wendas

OK semi new, so you may not think my brilliant discovery is oh so brilliant.. But the reprocussions knocked me dead. I found to make code more readable, I can sub class things. So I had in different class files (for readability) File # 1 had... [ICODE]namespace MyLibrary { public …

Software Development
Member Avatar for wendas
0
129
Member Avatar for fallopiano

Hi all. I'm not sure if this is the correct place to post this, but whatever. I have a simple .reg file that adds the command 'Open Dos Box' to the menu that pops up when you right click a file (on windows) I want it to open a DOS …

Software Development shell-scripting
Member Avatar for fallopiano
0
396
Member Avatar for rcrosenb

I'm trying to write a program that will use the content in a flash video player as an input stream in C#. Any help on this subject would be greatly appreciated. Thanks

Software Development audio c# flash video
Member Avatar for rcrosenb
0
52
Member Avatar for gitech

Hai friends, How to send and receive mail from my gmail account through java program.is there any way to access?

Software Development java
Member Avatar for sawjig12
0
89
Member Avatar for masterjiraya

is it possible to do that??? because I'm now looking to prove something like this scenario I want to buy a laptop but the specs was not given or posted in the window of a certain computer shop??? and they let me test it... but how to assemble the codes …

Software Development assembly
Member Avatar for wildgoose
0
211
Member Avatar for FBI

[B]hello everyone i was wondering what is the best book for beginning c++ apress beginning c from novice to prfessional tech yourself c++ in 21 days..and so on I'm completely newbie and also not good at math either:confused: btw i'm interested in computer programming... so i really want to learn …

Software Development c++ ide visual-studio
Member Avatar for tux4life
0
362
Member Avatar for jempag

can you please help me how to use [COLOR="Green"]function and about function calling?[/COLOR]please give me some easy tip! thank you very much!

Software Development c++
Member Avatar for necrolin
0
210
Member Avatar for sab786

hi i am really stuck now i hope someone can help ok so i have read in a file i have created a dictionary which reads every line and counts how many matches there are compare={} for matching in line: matched =( matching[3],matching[7])

Software Development python
Member Avatar for sab786
0
115
Member Avatar for elidotnet

Hello, i have some application (windows form) the first window (Main) is a Mdi. i need when the client open the application the main windows will open and will open new win for username and password but the client need to be Unavilable to minimize or close the login win …

Software Development
Member Avatar for kvprajapati
0
115
Member Avatar for sravan953

Hey guys, In Java, there is a method called substring, but what substitute does it have in Python, or do I have to explicitly do it like: [CODE] s=raw_input("Enter a sentence: ") s2="" a=0 b=0 for a in s: if(a==' '): s2= s[b:a] b=a a+=1[/CODE] Thanks guys!

Software Development java python
Member Avatar for jlm699
0
330
Member Avatar for prakash.s

hi, can any one give an idea how to rewrite the .net url using cpp.how to integrate it with the ISAPI Headers in IIS. Regards, Prakash --------------------------------------------------------------------------------

Software Development c++
Member Avatar for Laiq Ahmed
0
97
Member Avatar for nicenaidu

Hi All, Can somebody post me the logic to find all the occurences of a "substring" in a big string. The function strstr() gives the only first match. Thanks Mahesh

Software Development c
Member Avatar for Dream2code
0
156
Member Avatar for ashish2234

I have just made a banner in java applets and in status window also i have used a banner but in reverse direction to that of the other banner but the banner in status window does not make use of the whole space of the window and just runs in …

Software Development java
Member Avatar for ashish2234
0
107
Member Avatar for barneygurl

I need help!!!!! I would like to know how i can restore my mysql db from one form. I got the backup to work using mysqldymp but when I try to restore the .sql file created, nothing I try works.

Software Development mysql visual-basic
Member Avatar for indika75
0
129
Member Avatar for ndoe

hi all!i have problem to show JPanel in netbean with button here's the code [code=java] private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed NewJPanel x = new NewJPanel(); x.setVisible(true); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGap(0, 30, Short.MAX_VALUE) .addComponent(x) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGap(0, 30, Short.MAX_VALUE) .addComponent(x) ); [/code] my question how …

Software Development java java-swing
Member Avatar for ndoe
0
143
Member Avatar for scooby36

I am studying vb.net and am trying to develop a data access program I am getting the following error when I try to add a new record to the dataset. Any help would be great error " Input string was not in correct format. Could not store<LinenIndex> in LinenItemsID colomn …

Software Development dataset vb.net
Member Avatar for scooby36
0
5K
Member Avatar for KIngIS

Im using ifstream to read the content in text file. But i want to ignore the first 5 line content. what i do now is using the own function to ignore 1st 5 line content, then save it into new file and reopen the file again. i think this is …

Software Development c++
Member Avatar for tux4life
0
144
Member Avatar for xiikryssiix

im not sure whats happening here, but i dont know what code to use to stop the prompts from looping. My exercise is to create a program revolving Array-Based Lists. I simply want the user to input a set of student's records, but the user can input how many he/she …

Software Development c++
Member Avatar for MrSpigot
0
115
Member Avatar for Amps

Hi How do we install the CPAN packages, like CGI-XMLForm-0.10 in the linux system. I basically have idea of ppm through which we install in windows system ... but no idea about linux ... hw do we do it in linux. if we have to use the tar file which …

Software Development perl
Member Avatar for Amps
0
236
Member Avatar for hell04

Q: Write a program that will determine if a number is even. The program should ask for a number, say X and printout whether "X is even" or " X is not even". This program must use a method with the signature "public static boolean isEven(int i)".

Software Development java
Member Avatar for hell04
0
126
Member Avatar for sab73

hi all, i am pretty new to Python(a very new to this forum). have been programming in C & C++. i have a DLL written in C which i need to use. i would like to access it through Python instead of using Visual C++. i am having a problem …

Software Development peer-to-peer python
Member Avatar for sab73
0
210
Member Avatar for tj_amarnath

Hi friends, i want to query from excel data(sheet1) and create pivot table in sheet2 and copy that pivot table into .net data table. Is it possible? if yes, plz tell me how to do this? For example my query is "select productname, cost from sheet1" then from query output …

Software Development c#
Member Avatar for kvprajapati
0
460
Member Avatar for xiikryssiix

i dont know why im getting a compling error for this... error is: line 112 - name lookup of `i' changed for new ISO `for' scoping line 95 - using obsolete binding at `i' what does that even mean?! my current code is below, to get a better understanding. is …

Software Development c++
Member Avatar for Salem
0
62
Member Avatar for amit

Respected mem, I m struggling to make a project on inventory management system. Which has 5 option on first screen.I will tell u later the remaining. Can u plz. help on this project.

Software Development java
Member Avatar for praveenkonduru9
0
285
Member Avatar for xiikryssiix

does anyone have any advice? i created a program and it works fine. my teacher, however, is asking me to have my INPUT and OUTPUT to be subprograms such as the VOID function. i guess my algorithmn has to be.. // struct // void for inputs // void for printing …

Software Development c++
Member Avatar for Salem
0
135
Member Avatar for Masood Ali

Hi All I want to check whether there is a record present in my database with value: StartDate="Todays's Date" where start date is the column name with datatype DATE.

Software Development java sql
Member Avatar for Sakthimeenakshi
0
201
Member Avatar for Mr Violent

Hello, I'm having a problem receiving information with Winsock. I have 2 programs written, one is a server capable of accepting sockets from multiple users, and the other is a simple one socket client. The server uses an array of a user defined data type with a boolean variable and …

Software Development c++ client-server
Member Avatar for leo_yasir
0
1K
Member Avatar for alberton

Hi! I' m looking for this header source "msp430x26x.h "... could someone help me? If you have the header source, could you send me an email? I'm [email snipped] thanks albert

Software Development c
Member Avatar for jephthah
0
237
Member Avatar for dinilkarun

Hi All, How can I increase the time for which the ToolTip is displayed. I currently have a radio button for which I have set a tooltip and the content is large. There is not enough time for the User to read it completely. I dont want to use the …

Software Development python
Member Avatar for dinilkarun
0
102
Member Avatar for aliaks

[CODE] while (true) { // Display the players location and possible movements. cout << "------------------" << endl; cout << "Location: " << NewUser.location->name << endl; cout << "\nDescription: " << NewUser.location->description << endl; if (NewUser.location->north) cout << "(N)orth to: " << NewUser.location->north->name << endl; if (NewUser.location->south) cout << "(S)outh to: …

Software Development c++
Member Avatar for aliaks
0
99
Member Avatar for reggaehista

i dont know if this is wright so help me please...thnks for advance inside my inventory.ini 000001,hamburger,30.50 000002,cheeseburger,21.00 100001,frenchfries,21.00 200001,icedtea,17.00 try to run it.. [code] #include <stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> #define ERROR -1 #define OK 0 #define TRUE 1 #define FALSE 0 /* error codes */ #define ERR_INVALID 1 #define …

Software Development c
Member Avatar for reggaehista
0
130
Member Avatar for scarypajamas

I'm doing some math with floating point numbers and I'm getting weird results. For instance, the result of one of my math problems has an "e" and "+" in it. -4.49255e+013 How do I make it display a value without the weird "e" and "+"

Software Development c++
Member Avatar for necrolin
0
110
Member Avatar for jessejamesjjr

can any one help me find info on modular programming and how to understand it's functions? any links to go to?[TEX][/TEX]

Software Development c++
Member Avatar for ahmadabdullah
0
132
Member Avatar for Poab9200

Aside from many projects I'm working on to learn more about general programming and this language it self. I was wondering how do programmers create "program specific files". Examples: Microsoft Word has .doc type files. Adobe Acrobat Reader has .pdf files. Photoshop has .psd files. On a current project I'm …

Software Development c c# c++ file-stream pdf
Member Avatar for Poab9200
0
125

The End.