199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Gribouillis

Some time ago, I was writing a small command line interpreter, with the help of [url=http://docs.python.org/library/cmd.html#module-cmd]the standard module cmd[/url] which offers minimal support for such tasks, and I had the problem that this module doesn't have a function to parse a command line to produce a list argv which can …

Member Avatar for Gribouillis
1
875
Member Avatar for Metraton

Hello guys, that's my first post around here and I have a problem with binary files. I'm writing a simple editor for my arkanoid clone game. This editor opens a binary file defined by this: 0-26 byte: Descriptor for the file. Once in each file. 27->(1141*n): Levels inside the file, …

Member Avatar for Metraton
1
186
Member Avatar for bpl1960

Hi! I'm writing a statistical analysis program where I don't know, in advance, how many variables will be involved. I'm having the user enter data for each variable in a datagrid. First I ask for the number of variables. Based on that, I add as many new columns as needed. …

Member Avatar for bpl1960
1
108
Member Avatar for miteigi-san

I've been reading sites that talk about clock() but I don't really get an answer by doing that. I mean, I still need to confirm and know some more stuff. I hope you could help me... Here's what i would like to know: 1] what does the value returned by …

Member Avatar for mrnutty
1
622
Member Avatar for Diode

I know they don't have standard ASCII values, but how do you check for them? I am making a command prompt-type interface for a text-based RPG a friend and I are making, and I would like to be able to use the arrow keys to navigate in menus. I am …

Member Avatar for hsp700
1
4K
Member Avatar for alphaman1101

Im creating a simple program. (soon to be vastly complex) that is connecting to a server, and sending an authentication code to connect. I got the connection part, but what keeps breaking up is the method of authenticating. I have the entire authentication process in a while loop, so that …

Member Avatar for alphaman1101
1
170
Member Avatar for ppotter3

Hello! My name is Page, and I am having problems figuring out how to read a name for example like; SMITH, JOHN in a string array. From there I would like to find the space and read the last name into a vector and the first name into another vector. …

Member Avatar for ppotter3
1
7K
Member Avatar for chandervijay

Hi, I'm very new to web developement. I wish to develop a purchase order application wherein it has fields po_no, item, item_description, quantity, price. Out of these items po_no is common to all entries. Initially the form will have one row containing item, item_description, quantity, price. I need an option …

Member Avatar for JRM
1
709
Member Avatar for vegaseat

Wallpaper or tile images are small images that can be spread across a background repetitively. A common practice on web pages. The surface created with wx.PaintDC() can be used for this effect and still allows other widgets to be put on top of the wallpaper. The small tile image is …

Member Avatar for vegaseat
1
984
Member Avatar for ahaykal

Hello i am new here i liked this community: I have a c++ homework could you check it if it is correct? 1. Rewrite the following loop so it uses pointer notation (with the indirection operator) instead of the subscript notation: [code] for (int x = 0; x < 100; …

Member Avatar for nezachem
1
487
Member Avatar for javaAddict

I had a problem at work which I solved, but that raised me another question. I wanted to export a page to excel, so I used this: [CODE] response.setContentType("application/vnd.ms-excel;charset=iso-8859-7"); [/CODE] It worked but while I was searching for an answer I found 3 possible content types for the excel: > …

Member Avatar for javaAddict
1
929
Member Avatar for Szabi Zsoldos

Hey, this is my first post here, glad to be here and learn from you guys! what i'm trying to do is this: I would like to enter 2 names and then hit a number from lets say 1 to 10, and i have the array Q1,Q2... etc. these should …

Member Avatar for jonsca
1
375
Member Avatar for jemz

please help me how to make on how to get txt on a file...hoping for your positive responds.....

Member Avatar for jemz
1
103
Member Avatar for hermann87

Greetings from Greece, this is my first post! I'm having some minor trouble with an application I've been working on the past week. So if you could please shed some light into this. Thank you. The problem I'm having is that when the user is trying to save a file …

Member Avatar for mitrmkar
1
507
Member Avatar for justinclev

I've been looking through the site for topics on how to code your own DLL's in C++ and so far i have not come up with much, I'm hoping to create a DLL in which i will code functions for using the win32 API and kinda making a small framework …

Member Avatar for Frederick2
1
128
Member Avatar for SnipeTechie

Hi guys! I was wondering if anyone could provide me with useful tips or answers to the question stated below: Why is the programming language C++ is often used as the main programming language for Biometric Applications compared to Java the programming language? Your help would be really appriciated!

Member Avatar for love angel
1
297
Member Avatar for rhodesian

Hi all, I am working as a dba in a small bank and I got an assignment to develop an in-house tool for detecting fraud scenarios. I know the technical part of manipulating multiple data sources and mining data, but do you happen to know what tests/scenarios the banks use …

Member Avatar for pritaeas
1
82
Member Avatar for designcrew

Small design company looking for CF tech part-time. $30 to start. MySQL data bases are used. Grow with us and get in on the ground floor. Great 2nd job or filling down time. Email us. Thank you. :cheesy:

Member Avatar for peter_budo
1
228
Member Avatar for Yogesh Sharma

Can Somebody plz tell me how to give the form ,a footer & header. I want to write in Heaer-REPORT FIRST But i m not getting how to type the text in Header & Footer, plz reply. Bydefault the user is able to resize the form,I also want that the …

Member Avatar for boblarson
1
155
Member Avatar for Lukezzz

Hi, I have a task where I programatically will open 2 Explorer Windows in a minimized mode. I have searched and the code I have come up with looks correct to me but what happens is that these 2 browser windows do open in a Normal mode. That will be …

Member Avatar for Lukezzz
1
202
Member Avatar for cascade3891

Hi all, My first post here, but long time troller. I was looking for a GUI platform to develop on and couldn't decide between wxPython, PyQT and/or IronPython or Jython. I decided to go with wxPython after getting a couple of headaches elsewhere. I'd really like a quick IDE to …

Member Avatar for vegaseat
1
527
Member Avatar for dami06

Hi, does anyone know of a good php validator online. I used one called bermi.org and put my code in and gave me an error but i don't know what line the error is occuring. Perhaps someone could help me out. This is the code [B] tutors.php[/B] [code=php] <?php /** …

Member Avatar for almostbob
1
269
Member Avatar for chromatinpt

Hi all, I need to store some data in a txt file from a textbox.text. I have try this and works: [code] FileInfo t = new FileInfo("data.txt"); StreamWriter Txt =t.CreateText(); Txt.WriteLine(textbox1.text); Txt.Close(); [/code] But.... How can I create multiple files without delete the older one, e.g., Gives the name to …

Member Avatar for chromatinpt
1
178
Member Avatar for abhimanipal

[code=c] union u { union u { int i; int j; }a[10]; int b[10]; }u; main() { printf("n%d", sizeof(u)); printf(" %d", sizeof(u.a)); printf("%d", sizeof(u.a[4].i)); } [/code] Hello People. I just came across this piece of C code. I have a couple of question The third printf statement gives me the …

Member Avatar for kvprajapati
1
110
Member Avatar for yemu

Hi all! I've been working on some school/hobby project for some time now. It's a kind of a simple statistical tool for analysis of data from psychological experiments. Not being professional programmer I encountered a couple of problems concerning data storage. Let me explain the how the data is structured …

Member Avatar for vegaseat
1
125
Member Avatar for adcodingmaster
Member Avatar for jonsca
1
124
Member Avatar for Snubnose

Hi, I'm having a problem with a motion tracing effect in an animation on a Windows Form in C#. The effect generated by painting a transparent black background over the Form each time it is redrawn. The idea is that, as an object moves, it's previous images should be gradually …

Member Avatar for kvprajapati
1
135
Member Avatar for flyingguitar

ok, so I have the following code. [CODE]#include <iostream> using namespace std; int main() { char name[80]; cout << "\n\nEnter your name: "; cin >> name; cout << name; return 0; }[/CODE] but here's the problem. whenever I enter a space in the name, everything after the space doesn't appear …

Member Avatar for flyingguitar
1
96
Member Avatar for carey_amanda

HI, I have finish my project and need to make my project into EXE(windows application) by using project setup. does anyone know how to go about doing that? i mean those EXE where when you double click on it and it will prompt you to install and those agreement statement …

Member Avatar for sknake
1
111
Member Avatar for hondros

This code should be able to get you started to design 2-D scrolling games, like Mario. I spent a few hours trying to figure this out, and firgured I'd put up my efforts. I think there might be a better way to do it, but this should help you get …

1
1K
Member Avatar for Dearster

I have got given a homework: FileDescription program requests (as shown) and reads three lines of text. It then processes the data. For each line the first string (containing no spaces) on the line is a file name – followed by a file description. If the file name has the …

Member Avatar for stultuske
1
124
Member Avatar for asa88

i am trying to convert decimals to binary ..the reason i am using function is becoz i want to include -ve numbers too .......i was sucessfull for the positive but for making it run for -ve numbers to i divided into a new function....but i am not able to figure …

Member Avatar for jonsca
1
225
Member Avatar for kplcjl

I purchased a book that included an evaluation version of 2008 enterprise. I had downloaded SQL 2005 express and had tried to download 2008 which said it succeeded and I was left with 2005. I checked the OS list of supported ones. XP professional is on the list. XP home …

Member Avatar for kplcjl
1
105
Member Avatar for bkruep

I have a quick question with visual studio. This is the first program I have ever tried with the 2010 version and get the following error... 1>------ Build started: Project: test, Configuration: Debug Win32 ------ 1>Build started 1/17/2010 4:53:30 PM. 1>_PrepareForBuild: 1> Touching "Debug\test.unsuccessfulbuild". 1>ClCompile: 1> All outputs are up-to-date. …

Member Avatar for jbennet
1
153
Member Avatar for wolfkrug

It is supposed to take a ceral box measurement in ounces and convert it to metric tons, as well as tell how many boxes it would take to equal a metric ton. Here it is. [CODE] #include <iostream> using namespace std; double ounces; cout << "Enter the box weight in …

Member Avatar for wolfkrug
1
178
Member Avatar for kobi

Hello , Im trying to show an animated gif on a form while i read a file, but the animation freezes until all the file operation is finished Any idea? PS im using visual studio 2003

Member Avatar for ddanbe
1
155
Member Avatar for Katsurou

Hi so I have the next problem (didnt write it in code yet because I dont know how i should start) I have to make a program in Visual Studio 2008 that would add words to numbers and make it a word again s ofor example: monday + 4 =friday …

Member Avatar for Katsurou
1
238
Member Avatar for DavidDD

Hello there! This is my first post so I'd like to say hello to everyone on the forums! Anyway, I am coding a hangman game. I read my words from a text file with ifstream, then I randomize a word and I set the string "sSelectedWord" to the randomized word. …

Member Avatar for DavidDD
1
130
Member Avatar for johnny_gear

[CODE] while(getline(bookFile,books[count].title,';')) { bookFile>>books[count].year; bookFile.ignore(1); bookFile>>books[count].author; bookFile.ignore(1); bookFile>>books[count].price; count++; } [/CODE] the code seems to just ignore the deliminating character and enter the whole first line into the title member of the books struct. I can not figure out why, any help would be appreciated .. thanks

Member Avatar for johnny_gear
1
147
Member Avatar for blasata

Hi all, I have a problem with winsock in c++ while developing a client program: - When I send the first, it is ok, appears in the Server, but the other "sends", in the server appear as a empty string! the send command return is Ok, the number of bytes. …

Member Avatar for blasata
1
203
Member Avatar for landonmkelsey

[code=sql] alter table pets_like_boys drop constraint pets_like; alter table boys_like_girls drop constraint boys_like; alter table girls_like_pets drop constraint girls_like; drop table pets_like_boys; drop table boys_like_girls; drop table girls_like_pets; create table pets_like_boys (pets_name varchar(32), boys_name varchar(32),primary key (pets_name)) ; create table boys_like_girls (boys_name varchar(32), girls_name varchar(32),primary key (boys_name)) ; create table …

Member Avatar for debasisdas
1
291
Member Avatar for mindbender

I have to create a random matrix m*n where m and n are user inputs. Now i have to fill the matrix with random nos. Finally I must have a matrix where each value is either 0 , 1 , a fraction no between 0 and 1, and also sum …

Member Avatar for Nick Evan
1
5K
Member Avatar for k1_zav

Hi people, I am writing a code to do some matrix manipulation stuff. like replication of a matrix in a bigger matrix vertically and horizontally, or putting some elements on a specific diagonal. The problem is that when the size of 2-D array goes to 290, the program crashes. The …

Member Avatar for k1_zav
1
83
Member Avatar for Banderson

Hi, This will show you how to create a login form using swing. Please be aware that this form does not connect to anything. ( eg. A URL or a database) This is just a little advanced example of one of the many things you can do in swing. A …

Member Avatar for masijade
1
2K
Member Avatar for lrh9

I'm just wondering if it is possible to import a module as an object attribute. The basic description of what I want to accomplish is that I'm creating a software agent object. This agent will have a set of abilities (functions), but I don't know what these are ahead of …

Member Avatar for lrh9
1
338
Member Avatar for kring08
Member Avatar for javaAddict
1
198
Member Avatar for landonmkelsey

This code defines a new operator new in C++ such that the memory returned is in the shared memory segment rather on the heap. This code exists to prove a point. "Objectifying" shared memory. One can not overload the new operator but one can overload operator new. Reference the C++ …

1
427
Member Avatar for DealthRune

This one is a messaging system! Made it myself, works great! Hopes you like :)

Member Avatar for jamied_uk
1
259
Member Avatar for Bobon

Hey, I've been going insane with a question I've been doing all day. Creating an application that prompts a user to enter a date. I have to use arrays to store the number of days in each month i.e 31 for January, 28 for February etc.. I have created a …

Member Avatar for Bobon
1
190
Member Avatar for ruwanaru
Member Avatar for cwarn23
1
333

The End.