132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for flageolet

I've set the promt window size to full screen. But now I can't return it to 'window', because it hasn't got a blue header anymore where i can acess the properties. Does anybody know how to set the console window back to 'window' when I press F9 (compile and run) …

Software Development c++
0
96
Member Avatar for Jishnu

Does anybody here know how can i manage global data in multifile C programs ? Plz do reply.

Software Development c
Member Avatar for jwenting
0
290
Member Avatar for Boldgamer

Hello everyone. I am reading C++ Demystified and am on the chapter about the for loop. I am using this code [code] [COLOR=#0000ff]#include[/COLOR][COLOR=#a31515]<iostream>[/COLOR] [COLOR=#0000ff]using [/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#0000ff]int[/COLOR][COLOR=#000000] main()[/COLOR] { [COLOR=#0000ff]int[/COLOR] num, counter, total = 1; cout << [COLOR=#a31515]"Enter a number: "[/COLOR]; cin >> num; cout << [COLOR=#a31515]"The factorial of "[/COLOR] …

Software Development c++
Member Avatar for John A
0
254
Member Avatar for Clockwork

Hello, im a new C++ programmer. One of my first programs is to turn a normal english word into pig latin. I have one last error to sort out. I keep getting a parse error and i can't figure out why. the error is: In function `int main()': parse error …

Software Development c++
Member Avatar for John A
0
110
Member Avatar for aetinti

I've been looking for the anwer for almost 2 days now, odds are I'm looking in the wrong place but I can't find it. Is there a script I can write to get perl to print a command to the command line and then "press enter" to execute it?

Software Development perl
Member Avatar for KevinADC
0
89
Member Avatar for hela

help,i was doing C++ programming,i'm beginner and when i was coding something,there comes a cursor that blinks and when ever i press enter it delets characters i wrote,how can i stop that,help?

Software Development c++
Member Avatar for John A
0
491
Member Avatar for jerryodom

So How do you format phone numbers and things like that in C#? In perl it would be a pretty simple regular expression to format 4445556666 into (444)-555-6666 but I haven't easily found how to do that with C# in Visual Studio 2005 yet. Learning is fun. :confused:

Software Development perl visual-studio
Member Avatar for jerryodom
0
324
Member Avatar for Cammarata123

Hi I'm making a mouse recorder. I want to record whatever the person does and then play it back when they want. I have everything right( I can record and play back the mouse movement) but What I cant do is record the clicks. Do you know how I can …

Software Development vb.net
Member Avatar for iamthwee
0
99
Member Avatar for amrac

I have a work to do in Assembly. With the value of a radius given by the user, It only calculates the [B]area of a circle[/B]. It has to work in 8086 and not in 80386. I think that the problem is that the value is loaded to the FPU …

Software Development assembly
Member Avatar for amrac
0
220
Member Avatar for jtb19nh

I would like to learn vb6.. I have NO experience in code... Is this something i could teach my self with books and stuff... What kind of math skills are required???

Software Development visual-basic
Member Avatar for zaf
0
240
Member Avatar for campkev

looking for a function that will htmlencode a cstring

Software Development c c# c++ html-css
Member Avatar for jwenting
0
3K
Member Avatar for Prashmon

import java.io.*; import java.awt.Frame; import java.awt.FlowLayout; import java.awt.Color; import java.awt.Insets; import java.awt.Dimension; import java.awt.event.WindowListener; import java.awt.event.WindowEvent; import java.util.Enumeration; import javax.comm.CommPort; import javax.comm.CommPortIdentifier; import javax.comm.SerialPort; import javax.comm.NoSuchPortException; import javax.comm.PortInUseException; public class BlackBox extends Frame implements WindowListener { static int portNum = 0, panelNum = 0, rcvDelay = 0; static SerialPortDisplay[] portDisp; …

Software Development gui java java-swing
Member Avatar for aniseed
0
164
Member Avatar for frank12

hello sorry to trouble you, i was wondering if you could see this program on this c++ program. i want to have a program were i can enter two intergers to make a cetain grade i.e. 56 +4 >60="c" for example, any please look at my program. [code=cpp] #include <iostream> …

Software Development c++
Member Avatar for rinoa04
0
87
Member Avatar for VIDHYAPREM

hai everybody, know only i start learning c program,while compiling any program i have the error "[B]stdio.h was not included"[/B] even any header file it may math.h,conio.hstdlib.h etc,we include in our program it show this error [B]"you header file is not included"[/B] [B]how will i rectify the error.[/B] [B]Thanks in …

Software Development c
Member Avatar for ~s.o.s~
0
94
Member Avatar for Matt Tacular

I know wxpython is supposed to be better than tkinter, but I can't find any easy to understand tutorials on how to begin using wxpython. But anyway. How can I get tkinter to load up a jpg?

Software Development python tkinter
Member Avatar for jrcagle
0
164
Member Avatar for cassyjack

Does anyone know why I am getting an NullPointerException:Null error for this method? [CODE] public int[] checkISBN() { String letter; int[] isbnCheck = new int[9]; for (int i = 0; i < 9; i++) { letter = isbn.substring(i,i+1); isbnCheck[i] = Integer.parseInt(letter); } return isbnCheck; [/CODE] This is the specs for …

Software Development java
Member Avatar for jwenting
0
116
Member Avatar for dukiduki

Hmm,first sorry for some grammar mistakes... I have a big problem with graphics in C... For 2 days i'm looking on internet and nothing...I saw some theards and posts but none of the lib didn't work...(It was forums on my language ) I'm working in VS 6.0 I saw here …

Software Development c
Member Avatar for dwks
0
220
Member Avatar for sharma_vivek82

code: you can change this code as you like [code] import wx import os from wxPython.wx import * import wx.html class MyHtmlFrame(wx.Frame): def __init__(self, parent, title): wx.Frame.__init__(self, parent, -1, title) html = wx.html.HtmlWindow(self) html.SetPage( "This is test implementation of Simple <b>Notepad</b> using <font color=\"red\">wxPython</font> !!!! " "<br>View is created using …

Software Development python
Member Avatar for pty
0
411
Member Avatar for Lynqu2

Hi everyone, I'm new here and this is my first post. Like the title says - I'm new to the whole coding and programming thing, I really LOVE the thought and the idea, I've started out with XHTML and CSS, it's going easy so far and I think I have …

Software Development c++ first-post
Member Avatar for Lynqu2
0
455
Member Avatar for flageolet

I would like the program to repeat the "how many" question until the input is an integer: [CODE] int X = 0; number_patients: cout << "how many?\n"; if (! (cin >> X)) { X = 0; cout << "please enter a number\n"; cin.clear(); goto number_patients; } [/CODE] This creates an …

Software Development c++
Member Avatar for Ravalon
0
91
Member Avatar for sharma_vivek82

[code]#Auther : vivek sharma #date : 06-11-2006 #Description : This script is used to get the list of week in given year, user have to input the year , def WeekFinderFromYear(year): """ will return all the week from selected year """ import datetime WEEK = {'MONDAY':0,'TUESDAY':1,'WEDNESDAY':2,'THURSDAY':3,'FRIDAY':4,'SATURDAY':5,'SUNDAY':6} MONTH = {'JANUARY':1,'FEBRUARY':2,'MARCH':3,'APRIL':4,'MAY':5,'JUNE':6,'JULY':7,'AUGUST':8,'SEPTEMBER':9,'OCTOBER':10,'NOVEMBER':11,'DECEMBER':12} year=int(year) …

Software Development python
Member Avatar for mawe
0
2K
Member Avatar for mehakkapur

If you have to count numbers of 1 in a 32 bit word. Other than checking every other bit or dividing the bits is 4 parts and then using lookup table. What will be some other most efficent way ?

Software Development c
Member Avatar for Ravalon
0
96
Member Avatar for incitatus

can anybody help me by writing a code for opening my web connection. it locks itself after some time as it is password protected and i have to open it again.The thing is that i actually leave my computer on to download stuff and when i come back it locks …

Software Development python web-browser
Member Avatar for incitatus
0
117
Member Avatar for khoomy
Member Avatar for ~s.o.s~
0
233
Member Avatar for Iqbal_h_a

The following is the core dump got from the application crash(just took a line from the core dumped file). [code] 003af9dc memcpy (0, 0, 4629e8, 4629e8, 0, fbc06e65) + e8 [/code] I could not understand what it is trying to say here. As memcpy takes three parameters, here it is …

Software Development c++
Member Avatar for Iqbal_h_a
0
307
Member Avatar for dams

Hello, I am new to Python and find it really nice. But I can not launch an executable file using only its name. I have to give its whole path. I expected that the PATH environment variable is known by Python and that it could retrieve the full path itself... …

Software Development python
Member Avatar for dams
0
127
Member Avatar for wheelz

School project, just wondering if there is anymore documentation that I woould need? [code=cplusplus] //********************************************************/ // Tim Petrich, T.Scot Alexander // Program: Project 1 Mystery.cpp // Date: 17 January 2007 // Purpose: Binary Convert // Description: Converts text into binary using the division method // through ASCII code. // The …

Software Development c++ microsoft-access visual-studio
Member Avatar for Ravalon
0
131
Member Avatar for bhavna_816

[COLOR=darkblue]Sub Main() Dim value As String value = "PFolder=oPFolder&SFolder=sfolder&oMsg=i" Dim myFolder As String() = Nothing Dim msgs(5) As Char msgs(0) = "=" msgs(1) = "&" msgs(2) = "=" msgs(3) = "&" msgs(4) = "=" myFolder = value.Split(msgs, 6) Dim f As String For Each f In myFolder Console.WriteLine(f) Next f …

Software Development vb.net
Member Avatar for Dukane
0
83
Member Avatar for dmmckelv

I am getting a runtime error somewhere in the inputData function, I can't find it. Can anyone help? Thanks [code] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<iostream> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<string> [/COLOR][COLOR=#0000ff]using[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#0000ff]void[/COLOR][COLOR=#000000] inputData (string &); [/COLOR][COLOR=#008000]//function prototype passing by reference [/COLOR][COLOR=#0000ff]void[/COLOR][COLOR=#000000] outputData (string); [/COLOR][COLOR=#008000]//function prototype passing by value [/COLOR][COLOR=#0000ff]int[/COLOR][COLOR=#000000] main()[/COLOR] { string myString; [COLOR=#008000]//instantiates …

Software Development c++
Member Avatar for ~s.o.s~
0
103
Member Avatar for melodious_lily

I have this problem... Ive gotten the codes however, i cant seems to get the output correctly.. This is my program: [code=cplusplus] int n; cin>>n; //reading in value of n if (n==1) { cout<<n; //if n=1, print out 1 } else if (n%2) { n = 3*n + 1; //if …

Software Development c++
Member Avatar for sallyitzme
0
92
Member Avatar for Mix

[COLOR=#0000ff]switch[/COLOR][COLOR=#000000](time)[/COLOR] { [COLOR=#0000ff]case[/COLOR] 1: System.Console.WriteLine(" Enter the century. ie 20 or 19."); C = System.Console.ReadLine(); Convert.ToInt32(C); [COLOR=#0000ff]goto[/COLOR] [COLOR=#0000ff]case[/COLOR] 2; [COLOR=#0000ff]case[/COLOR] 2: System.Console.WriteLine("Enter year in YY format. ie 96") ; Y = System.Console.ReadLine(); Convert.ToInt32(Y); [COLOR=#0000ff]goto[/COLOR] [COLOR=#0000ff]case[/COLOR] 3; [COLOR=#0000ff]case[/COLOR] 3: System.Console.WriteLine("Enter month in MM format. ie 03"); M = System.Console.ReadLine(); Convert.ToInt32(M); [COLOR=#0000ff]goto[/COLOR] …

Software Development c c# c++
Member Avatar for TylerSBreton
0
177
Member Avatar for mattyd

I am in the end part of a Python Gui game build; it is going quite well but I am finding that I underestimated one area of the logic, incorrectly coding it: The game is blackjack. One area that, although it seemed simple on the surface (and in fact it …

Software Development first-post gui python
Member Avatar for woooee
0
108
Member Avatar for mattyd

Hello: I am new to Java and I am working on a tutorial to familiarize myself with this language. The tutorial is a walk-through in building a basic text editor. So far the build is going fine, but I have come to a point where I am unsure how to …

Software Development gui java visual-basic
Member Avatar for mattyd
0
265
Member Avatar for goms

Hi, I am a newbie to python. I was trying to import an execl application to python. To startwith i'm trying to open a excel file using python script. In some of the sample scripts that are available on internet has the following contents. -------------------------------------------------------------------------------- import win32API.client import pythoncom app …

Software Development python
Member Avatar for vegaseat
0
220
Member Avatar for sharma_vivek82

import wx import os from wxPython.wx import * import wx.html class MyHtmlFrame(wx.Frame): def __init__(self, parent, title): wx.Frame.__init__(self, parent, -1, title) html = wx.html.HtmlWindow(self) html.SetPage( "This is test implementation of Simple <b>Notepad</b> using <font color=\"red\">wxPython</font> !!!! " "<br>View is created using <font color=\"red\">wxGlade</font>") class MyFrame(wx.Frame): def __init__(self, *args, **kwds): # begin …

Software Development python
Member Avatar for vegaseat
0
447
Member Avatar for Matt Tacular

Is there any way to get the python interpreter installed on a thumb drive? So that I can edit some programs while at my work, where I'm never on the same computer twice, so installing on each machine isn't as pratical as the thumb drive. Just anything that would let …

Software Development python
Member Avatar for vegaseat
0
132
Member Avatar for degamer106

i've been trying to use fscanf to parse parts of a line from a file. The format of each line is like the following: Connecticut,1788,Hartford,29 I've been trying to use this: [CODE]fscanf( fpIn, "%[^,], %d% [^,], %d", name, &year, cap, &popRank )[/CODE] To extract the state, year, capital, and population …

Software Development c
Member Avatar for Salem
0
78
Member Avatar for howlingmadhowie

hi everybody :) i've just bought a sun box on ebay, installed gnu/linux on it and am now trying to write a short assembler program. this seems to be very different from assembler on my tried and trusted pentium III. anyway, i found a few guides on the net and …

Software Development assembly data-structure first-post
Member Avatar for howlingmadhowie
0
149
Member Avatar for flamecly

Hi, i'm new to this website. I have recently came across a qns given by a friend and i'm thinking how to do it. Hope u all can help me... Here is the qns: The circuit below shows a decoder circuit using 3-to-8 Decoder and 2-to-4 Decoder with logic gates. …

Software Development c++
Member Avatar for Colin Mac
0
264
Member Avatar for Oxiegen

Hi. I'm having some difficulty here. Perhaps someone here has some ideas. I would like to implement some kind of P2P functionality in an existing application that is designed to work within a local network. The concept of this functionality is that the application stores the username of the current …

Software Development client-server vb.net
0
86
Member Avatar for bhavna_816

I wrote a code in [URL="http://vb.net/"][COLOR=#0000ff]VB.NET[/COLOR][/URL] which accesses the outlook folders.Following is the code.According to this code it displays outlook folders and there is hyperlink on each subject.I want when we click on the subject the message body should be [URL="http://dispalyed.in/"][COLOR=#0000ff]dispalyed.in[/COLOR][/URL] href how can we do this? I know we …

0
90
Member Avatar for jerryodom

I'm pretty new to C# programming and .NET programming however I have a great deal of experience with database & programming in the world of Unix,PHP,Perl, Javascript. I've been learning C# database programming with a WROX book but it doesn't tell you everything and unfortunately I need a little hand …

Software Development javascript perl unix
Member Avatar for sedgey
0
288
Member Avatar for sathya_k_83

Hi[COLOR=#000000]How to Export data from Dataset to Excel sheet in VB.net Windows Application and also How to convert Excel Sheets into Data set Using VB.net coding(Windows Application)[/COLOR] [COLOR=#000000]how to Convert Dataset into XL Sheet to the VB.net Windows Application only by using the default resource(dll) available in VB.net.[/COLOR] [COLOR=#000000]ie without …

0
111
Member Avatar for elodie

Hi, I'm having difficulty in converting an ansiString to a string, i've searched loads on this but could only find how to convert a string to an ansistring. I'm tring to open a filestream for reading using the filename selected by the value of an open file dialog. Code below …

Software Development c++ ios
Member Avatar for Lerner
0
1K
Member Avatar for Cammarata123

Hi I'm in 8th Grade and I'm thinking of trying to get into IT tech before the end of there year so that I can say I was in college before I went into highschool. Can you guys/girls give me an idea as of what you do in 1st or …

Software Development vb.net
Member Avatar for Cammarata123
0
141
Member Avatar for Bench

[B]Intro[/B] The focus of this tutorial is the code relating to decision making and selection, and not the I/O code. I [U]do not[/U] advocate using scanf() in this way for anything other than testing blocks of code in 'toy' programs. If you feel the need to use scanf() when writing …

Software Development algorithm c++ python
Member Avatar for Dave Sinkula
0
3K
Member Avatar for hariza

Hi Guys, I wonder if someone can help me out with this. I'm running the same C code in diffferent platforms (windows/unix) but getting different result. For instance the code is: [code=cplusplus] fgets(line,LINE_BUF,fp); while (!feof(fp)) { Len=strlen(line) - 1; if ( (newNode=malloc(sizeof(ListNode))) == NULL) { fprintf(stderr,"\nListInsert: Memory Allocation failed! Aborting.\n"); …

Software Development c unix
Member Avatar for Dave Sinkula
0
152
Member Avatar for NeroToxic

Hi all, I have an application written in C#, it connects to a SQL database using SQL Server 2005 Express. What I need to do is install my application on multiple computers on a network, but they must run from a single database on one of the machines, so I …

Software Development sql
Member Avatar for Ravalon
0
105
Member Avatar for cassyjack

I need to create a printing method. Once I call the method it will print the following code. [CODE]static Book1 a = new Book1("Miasha", "Secret Society", "Borrowed", 743281586); static Book1 b = new Book1("Omar Tyree", "What They Want", "On Shelf", 743228695); static Book1 c = new Book1("Eric Jerome Dickey", "The …

Software Development java
Member Avatar for cassyjack
0
147
Member Avatar for sandip.bhoi

Dear all, i am having a JTable, in which a column of each row is having a checkbox field. If the checkbox is checked then and then i should be able to modify the cells in that row, ...where the checkbox is. I have created the table with AbstractTableModel of …

Software Development gui java java-swing
Member Avatar for sandip.bhoi
0
163

The End.