132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shishio1014

can you guys suggest a way for me to code c++ without using IDEs? a link or two could really help

Software Development c++
Member Avatar for pspwxp fan
0
108
Member Avatar for sidd.

hi i am drawing a graph with values more than lakhs. i m drawing it in 4 different parts parallelly. it works f9. it contains two forms 1st one is opening the file and the second one is storring the values in variables and plotting it. but the problem is …

Software Development
Member Avatar for vibhutirs
0
85
Member Avatar for fferrandini

Hi folks, I dont need any code snippet, but at least i need somebody to lead me to a solution. I got an app form that will have personal info from employees, and i need to let them pick a photo from filesystem to attach to this form. what i …

Software Development python
Member Avatar for vegaseat
0
167
Member Avatar for pritam_1181988

Q.28. Write a program to produce the following form. 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 $ $ $ $ $ $ $ $ $ $ $ …

Software Development java mathematics
Member Avatar for peter_budo
0
123
Member Avatar for newto_vb

hi to all combo1.additem "male" cobmo1.additem"female" combo2.additem" Educated" combo2.additem"Uneducated" even i have added in LIST property of combobox. my problem is when i retrieve records from database for Find command button i am geting error as "Text" property is read-only. runtime error '383'. i want to dislplay FIND record details …

Software Development visual-basic
Member Avatar for PriyaPD
0
1K
Member Avatar for jp071

Hello, When i run my program it shows just segmentation fault. As my knowledge, segmentation fault can occur for pointer and memory related fault. But i could not find out my mistake. Please see some part of code(maybe, that is related to segmentation fault): [CODE] char *state_in; //state_in = malloc(1024); …

Software Development c
Member Avatar for jp071
0
251
Member Avatar for Peric

I know how to create shortcuts on desktop and program files but i want to make an option with checkboxes...so that you can select if you want those two shortcuts or if you don't them. I've tried this with checkboxes (in User Interface), i've set checkboxes properties and changed "User's …

Software Development user-interface vb.net
Member Avatar for Peric
0
586
Member Avatar for eduard77

Hello I am really new in c++ but I read a lot of books. But I haven't found in any book how to add an interface to my program. So, what is necessary that the program to not run in the windows console?

Software Development c++
Member Avatar for eduard77
0
202
Member Avatar for vlady

Hi everybody, Pls give me sb. a hint. I do this following exercise but I struggle with reading another lines of txt. Here is the text: Exercise 9.1 Write a program that reads words.txt and prints only the words with more than 20 characters (not counting whitespace). here is my …

Software Development python
Member Avatar for vlady
0
4K
Member Avatar for dre-logics

I use Visual Basic 8.0 and MySQL 5.0 [COLOR="Green"]Articles are listed in table rental places in table stock if articles not exists in table stock[/COLOR] first check with article are not in listed stock table and wel in listed stock table rental select * from rental,stock where rental.Article<>stock.Article ; This …

Software Development vb.net visual-basic
0
62
Member Avatar for P00dle

Hi everyone. I need help. I'm supposed to have my program edit an XML field. The user has the option to change the values in certain nodes. After the node values have been filled in, and a certain button has been clicked, the program should write the changes to the …

Software Development java xml
Member Avatar for P00dle
0
106
Member Avatar for abel kaleab

write a programm which out put is a triangle example 5 4 4 3 3 3 2 2 2 2 1 1 1 1 1

Software Development c++
Member Avatar for restrictment
0
108
Member Avatar for Silvershaft

Hello I got a little problem with winapi programming I can edut dialogs graphically with resource editor but is there any way to edit mainform in similar way? Writing on iPod so there may be typos

Software Development c++
Member Avatar for Ancient Dragon
0
77
Member Avatar for myqro

I am new to java programming and i have been struggling to connect my Jtextfields to my java database. I have been working with Delphi previously and was wondering how i can connect the GUI fields in my form to an already existing database using jdbc. Any help appreciated. Thanks

Software Development delphi gui java
Member Avatar for myqro
0
138
Member Avatar for bhas_purk

Hi guys, Im doing this project in VC++ 2005. I cannot seem to get the size for my directory. No error is returned when I use GetLastError(); Both Low and High are coming out as 0. I do get a handle value for MF ( dunno how to verify if …

Software Development c++
Member Avatar for Rajesh R Subram
0
144
Member Avatar for JAM1011

Hey all, Hope ye are all are enjoying christmas, I was just wondering if someone could help me out I am having a small problem with insterting a Date into Access 2007. I am Using the Now() Function in VB.NET and have change the format to General date In Access …

Software Development vb.net
Member Avatar for MeSampath
0
126
Member Avatar for eva yang

How can I use try-except to deal with an error? Thank you :)

Software Development python
Member Avatar for eva yang
0
98
Member Avatar for new programer

hello all please help .. whenever I enter a path it tells me it cannot open the file here is the code: [CODE]# include <iostream> # include <fstream> # include <iomanip> using namespace std; struct count_type { int count; double percent; }; void intial_struct(count_type count[]); void open_file(ifstream&, ofstream&); void counter(count_type …

Software Development c++ file-system
Member Avatar for nezachem
0
79
Member Avatar for GihanFernando

Hello all, I would really appreciate help with this seemingly basic problem. Here is my code; [code]import wx import FloatSpin as FS class DesignConditions(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'Design Conditions',size=(1000,700)) panel = wx.Panel(self) wx.StaticText(panel,-1,'Atmospheric Temperature (K): ', (25,150)) wx.StaticText(panel,-1,'Atmospheric Pressure (kPa): ', (25,200)) wx.StaticText(panel,-1,'Mach Number: ', (25,250)) wx.StaticText(panel,-1,'Ratio of Specific Heat Capacities …

Software Development python
Member Avatar for vegaseat
0
107
Member Avatar for tkud

Hi everyone , I have an edit control and 2 APIs for saving text from and loading text to the edit respectively. However, when I load text, instead of giving out the exact alphabets in the text, it gives chinese!! Please, I need help to tackle this problem,any psitive help …

Software Development c++
Member Avatar for Frederick2
0
921
Member Avatar for DTV

I'm trying to make a 50x50 board of 50 pixel by 50 pixel squares. However, when I run this code, it only gives me one square. Does anyone have any idea what I'm doing wrong? [CODE] #include <iostream> #include <allegro.h> using namespace std; int xgen = 0; int ygen = …

Software Development c++
Member Avatar for DTV
0
114
Member Avatar for ExitWound

I am currently working on a program that edits txt files but it's for a game. There is a file that contains information that the client uses. This is what the file looks like: |piece of code here|another piece|and another piece| |piece of code here|another piece|and another piece| |piece of …

Software Development vb.net
Member Avatar for ExitWound
0
124
Member Avatar for red999

Does anyone know of a good beginner java book that is the most up to date? Head First Java 2nd ed. seems kind of outdated when I looked at the date.

Software Development java
Member Avatar for red999
0
84
Member Avatar for dre-logics

I use Visual Basic 8.0 and MySQL 5.0 select * from rental,stock where rental.Article=stock.Article ; This gives the following result: stock.article stock.stock rental.article rental.rent 1000 100 1000 15 2000 150 2000 25 Update stock set stock.stock=stock.stock-rental.rent where rental.Article=stock.Article ; This gives the following result: [COLOR="Red"]Unknown column rental.Article lin 'where clause' …

Software Development vb.net visual-basic
Member Avatar for dre-logics
0
94
Member Avatar for cthoes

[QUOTE]when i tried to copy structure array of name into another string array i get this error message warning: passing argument 1 of 'strcpy' makes pointer from integer without a cast [/QUOTE] [CODE] /* copying structure array name into another string array*/ #include<stdio.h> #include<string.h> int main(){ int i=0; int j,k,l,m; …

Software Development c
Member Avatar for stranger510
0
128
Member Avatar for eduard77

Can anyone tell me what to do to solve this error? [CODE]#include <iostream> #define MATRIX_DIMENSION 4 int WSACleanup (void); int main(int nArgs, char** pArgs) { int nDim = MATRIX_DIMENSION; double fMatr[MATRIX_DIMENSION*MATRIX_DIMENSION] = { 1.0, 2.0, -1.0, -2.0, 1.0, 3.0, -1.0, -2.0, 2.0, 1.0, 1.0, 1.0, 3.0, 1.0, 2.0, 1.0, }; …

Software Development c++
Member Avatar for eduard77
0
80
Member Avatar for chrisname

So I decided to learn Perl yesterday, and I'm writing a Perl script to try and parse HTML files (not using regexps for the actual parsing). Anyway; I have this subroutine to iterate over each argument in @ARGV and, if one of them is an existing file, return it's filename …

Software Development perl
Member Avatar for chrisname
0
152
Member Avatar for Ashwin Vasnai

Plz help. I am working to create application kind of auto-suggestion. I am using JTextPane along with Jlist on PopupMenu. I am not able to get the Action Event on JList. and other problem is that my KeyPress Event of JTextPane are getting overlapped with JList hence nothing is selected …

Software Development java
Member Avatar for Ashwin Vasnai
0
168
Member Avatar for esmeco

Hello! I'm having some problems with constructor initialization,mainly because I have object members and vectors within classes. I have a class Factory in which i have 2 object members(base and dumpster),a vector of Floors and a set of Robots. Each Floor has a size(lin,col) and a member object Cell which …

Software Development c++
Member Avatar for Agni
0
110
Member Avatar for mahela007

I was using the datetime module for the first time today. When I typed [CODE]now = datetime.date.today() now [/CODE] I got the output [CODE] datetime.date(2009, 12, 27) [/CODE] Now, I found out that [CODE]datetime.date[/CODE] is a class and that[CODE] datetime.date.today[/CODE] is a method. But I can't figure out what the …

Software Development python session
Member Avatar for snippsat
0
1K
Member Avatar for tig2810

Hi all This is not really a coding question but rather I'm looking for the correct term. I was about to write something so I could decorate field as adate and then use softdates or date shortcuts etc like below but on googling for some inspiration I suddenly realised I …

Software Development
Member Avatar for sknake
0
143
Member Avatar for ShortYute

`I am trying to limit the amount of characters that a user can enter for the address(/ in the input buffer): for example (if maximum allowed input was 30 then ): ->4 Mary drive lane, Mt. Pyle, A<- when the user typed that I am trying to get the curser …

Software Development c
Member Avatar for ShortYute
0
358
Member Avatar for phalaris_trip

Hi, I have written a C# application which uses Tao Framework bindings for OpenGL and FreeGlut. It references two assemblies (Tao.OpenGL and Tao.Freeglut) and also requires that the appropriate OpenGL and Freeglut dlls be somewhere in the system. How can I publish this application in such a way that the …

Software Development opengl publishing
Member Avatar for phalaris_trip
0
100
Member Avatar for tanha

Hi. Using the following Software: --- Visual C# Express 2008 --- MySQL --- Windows Operating System I am supposed to work on a Monitoring Application for an IT Center, so the requirement is: [LIST] [*]Users will be registered into the database and they will have an expiration_datetime; which means that …

Software Development monitoring-software operating-system
Member Avatar for ddanbe
0
137
Member Avatar for Noliving

Can someone run my mips code? I'm using pcSpim as my simulator The issue I'm having is that it doesn't correctly output the number of othercharacters. Other characters would be like !@#$%^&*()_+-=.,<>?/ \ The other problem I'm having is that it doesn't output the number of characters there are in …

Software Development assembly operating-system
Member Avatar for lacialec
0
279
Member Avatar for xvalentinex

Okay python gurus, this one has me stumped. Is it possible to introspect and obtain the instance of a class that assigned a class? I have a simple sample that demonstrates what I'm looking for, but doesn't make any sense why you would do it. [code=python] class One(object): def print_parent_hw(self): …

Software Development python
Member Avatar for xvalentinex
0
89
Member Avatar for Krstevski

Hello... I have created application (duplicate file detector) and now I have a progress bar and I want synchronize "how many percentage of scan is ready" Here is my code for scanning: [CODE=Csharp] private void scanFiles(string rootDirectory) { try { if (stop) { return; } foreach (string dir in Directory.GetDirectories(rootDirectory)) …

Software Development
Member Avatar for Krstevski
0
654
Member Avatar for crazysoul13

Hi I need anybody to help me this command in UNIX SHell Scripting. It goes to a website and take a snap shot and stores it in directory. Thanks

Software Development shell-scripting unix
Member Avatar for JeoSaurus
0
103
Member Avatar for Stefano Mtangoo

Hi, Iam now using Mandriva from external HDD and want to install my development tools. I need to install wxPython, Matplotlib, and some other packages. How to do that in Mandriva?

Software Development python
Member Avatar for Stefano Mtangoo
0
149
Member Avatar for Excizted

Hi everyone... I have a silly problem.. Somehow I managed to faceroll or something, hitting a shortcut which shows all indents as arrows and all spaces as dots. Here is a picture of the problem: [url]http://img97.imageshack.us/img97/8789/problemyf.jpg[/url] I've looked the options through, but since I don't know what this thing I …

Software Development c++
Member Avatar for Excizted
0
88
Member Avatar for shack99

Hi, Could someone please help me, I'm a bit stuck and don't know where to start. I want to create a program where I have to use multiple arrays eg: processing the data of a file, the file contains details of several groups of students(group 1,2 3,...) and each group …

Software Development java
Member Avatar for shack99
0
218
Member Avatar for LennieKuah

Hi There, In VB6 I used ADP to confirm record existence by using this script IF ADO.EOF OR ADO.BOF then ado.addnew End if but in VB.NET 2003, How before using SQL String to Insert the record how do I confirm it's existence in the Table to prevent duplication. Please help …

Software Development vb.net
Member Avatar for sknake
0
230
Member Avatar for zurehman

Hi , members this code show error in vb.net 2008 [CODE] If Con.State = 1 Then Con.Close() Con.Open() Dim strSQL As String Dim dt As DataTable strSQL = "select count(EntryNo) from(Select distinct(EntryNo) from Cash where year(Cash.PmtDat)= '" & yyyy & "')" dt = GetmyTable(strSQL) Rc = dt.Rows(0).Item("EntryNo")[/CODE] please guild me …

Software Development vb.net
Member Avatar for sknake
0
124
Member Avatar for crackerjacker

basicly all i want to do is resize (height and width) of an external window, like IE or Freecell, and then move that window, with X Y pixel co-ordinates(top, left). Thanks

Software Development visual-basic
Member Avatar for crackerjacker
0
121
Member Avatar for Stefano Mtangoo

Please help me to expound how to do layout management. You may choose any layout manager and expound it. I'm doing self teaching most of the time and it is not fun! Please help me ho to arrange. Also which layout is mostly used

Software Development java
Member Avatar for peter_budo
0
339
Member Avatar for shishio1014

i would like to ask for help regarding my problem, it's like this... I have a txt file and inside it looks like this OL001 bob red 13 OL002 jack blue 13 OL003 paul yellow 14 so if my program starts it will ask for the OLXXX and return each …

Software Development c c# c++
Member Avatar for jonsca
0
137
Member Avatar for samsons17

What does this cin.clear() and cin.ignore() means? this is the part of the code : [CODE] while(1) { cout<<"Enter the Product ID :"; cin>>product[i].id; cout<<endl; if(cin.fail()) { cout << "\t\t\t\t\WRONG ID DATA!" << endl; cin.clear(); //what does it means?? cin.ignore(1000, '\n'); //why 1000?? continue; } break; } [/CODE] thank you …

Software Development c++
Member Avatar for jonsca
0
394
Member Avatar for cthoes

[QUOTE][QUOTE] even after passing all name to bubble sort i get result of unsorted nams..so please help me in this issue [/QUOTE][/QUOTE] [CODE] /* enter customer detail in structure and put its name in asscending order*/ #include<stdio.h> #include<string.h> int main(){ int i=0; int j,k,l,m; int choice=1; char temp[10]; char words[20]; …

Software Development c
Member Avatar for jonsca
0
148
Member Avatar for dave_nithis

Hi all, I got a new Java puzzle in which I have to find the largest of given numbers without using If loop,for loop or while loop..And you should not use any max() or min() functions. Can anyone help me out in this?I want to know whether it is possible …

Software Development java puzzle
Member Avatar for Rizwana begum
0
277
Member Avatar for monkey_king

Hi, Can someone elaborate why the following (the if conditional) differs [CODE=c] int main(){ const char *filename = "test.txt"; int ifd; if((ifd=open(filename,O_RDONLY))<3) err(EX_NOINPUT, "%s", filename); fprintf(stderr,"ifd is:%d\n",ifd); off_t bytes_in = lseek(ifd, (off_t)(-4), SEEK_END); return 0; } [/CODE] vs [CODE=c] int main(){ const char *filename = "test.txt"; int ifd; if(ifd=open(filename,O_RDONLY)<3) err(EX_NOINPUT, …

Software Development c
Member Avatar for monkey_king
0
126

The End.