132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fesago90

I'm doing a homework for my programming class, the following code is a part of my code which I cut out and formatted to be a 'runnable' program. Now, if you run it you'll notice it creates a data.txt file, writing the amount of student IDs in the record as …

Software Development c++ file-system ios
Member Avatar for jwenting
0
140
Member Avatar for Sturm

I use the dev c++ IDE and was wondering if there is anyway in c++ or using system commands to send text packages to another computer that can be received by the other computer to process the information.

Software Development c++ ide
Member Avatar for Sturm
0
98
Member Avatar for mouko_yamamoto

Hi all! I'm trying to write a program using the GetCursorPos() and SetCursorPos() functions. When my program isn't sleeping, I want it to set the cursor position to +1 (each axis) of what it is when I call GetCursorPos(). [code]#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int …

Software Development c++
Member Avatar for ~s.o.s~
0
2K
Member Avatar for Randika

Please let me know how to take the system date and time through VB6."There is a text box,caption must be the system date and time".So how to do it?give me the cordings of it.Please...

Software Development visual-basic
Member Avatar for Randika
0
90
Member Avatar for shouvik.d

Say if we ve certain private methods along with private data members and public methods. other than friend function is thr any other way we access these members(they being private only) directly. its one of the requirements in a project of mine. The real prob comes when accessing function. say …

Software Development c++
Member Avatar for shouvik.d
0
277
Member Avatar for mastern200

I need to create a program where the user selects addition, subtraction, or multiplication, and when they select one, 2 random numbers appear, and they must put in the right answer. The problem is, i cant get the correct answer. It just says: Would you like to play again? [code] …

Software Development c++
Member Avatar for rinoa04
0
99
Member Avatar for hanifa

Hi guys i am pretty new to XML. Well I have transform a xml file in format A(let's say) to format B. By surfing the websites, I found that XLST can do this.But these 2 formats dun not neccesarily have easy transforms like tag-to-tag. They can be transformed from tag-to-tag,tag-to-attribute …

Software Development xml
Member Avatar for MattEvans
0
107
Member Avatar for FC Jamison

I was absent for the discussion and lab due to illness and I am at a total loss as to how to do this assignment. Implement the my_string class in header file my_string.h, so that the test code given below reports SUCCESS. [code] // test_my_string.cpp #include <iostream> #include <string> #include …

Software Development c++
Member Avatar for FC Jamison
0
116
Member Avatar for bhavna_816

[COLOR=#0000ff]I am writing a code in VB.NET to access MS Outlook folders.Its giving all the folders and their msgs but when any calender meeting or any other things other than the mails appears any the folders like deleted items ,Inbox etc. then it shows exception in line oMsg = oItems.Item(i) …

0
78
Member Avatar for brian.p

Hi, I am having a problem with the below,basically what I'm trying to do is allow the user to enter upper case,lower case ,or alternating text ..like Cw888 or cW888 for example using [B]or[/B] ... it works fine for one command button,that is it displays the error message if the …

Software Development visual-basic
Member Avatar for brian.p
0
143
Member Avatar for Extremist

Hi there, I am sitting here and thinking. The best way to learn a new language is to play in it, but I have a little problem: I don't know where to start , how about a few ideas

Software Development python
Member Avatar for jrcagle
0
329
Member Avatar for cassyjack

Hi I need some help.... Here is what Im trying to do....I havent worked with java in about 4 years. I have created a JOptionpane showInputDialog with a list of options to choose from inside a method. What I want to do next is once one of those options is …

Software Development java
Member Avatar for cassyjack
0
135
Member Avatar for csckw

hello every one i had some erros in my code can you plz fix it to me coz i didnt know how to fix it this is my code : DOSSEG .model small .stack 100h .data redbox db 10, 30, 13, 40 lbox db 10, 30, 13, 40 db 10, …

Software Development assembly
Member Avatar for Purple Avenger
0
149
Member Avatar for killerdrummer2

Hi, I am trying to use a command setprecision from the <iomanip.h> header. It works well when i declare the number of decimals to display to the right of the decimal point, however i am attempting to have the user input how many places of precision they want. So far …

Software Development c++
Member Avatar for murschech
0
189
Member Avatar for aetinti

I'm Trying to write a program that will automatically open a .exe file enter a piece of text in a specific textbok and then exectute itself. I'm new to perl and can't seem to find any of the answers in my books or online. I'm running Perl through the windows …

Software Development perl
Member Avatar for aetinti
0
83
Member Avatar for AlreadyWon!

hello every1! Im a newbie to vb.Net and i have done my best to workout a solution for this challenge but i keep hitting walls. i would appreciate it if some1 could help me with it, thanks in advance!! My application is 99% complete except for this 1 problem: the …

Software Development vb.net
Member Avatar for Cammarata123
0
905
Member Avatar for totengtoh

guys, i am making a program in java. i have to use a sorting agoritm. i manage to get some from the internet but it seems that they are too technical and hard to understand and i dont know where to put them and how to use them. here is …

Software Development algorithm java java-swing
Member Avatar for totengtoh
0
130
Member Avatar for fesago90

[CODE=c++]#include <cstdlib> #include <iostream> #include <string> #include <algorithm> using namespace std; int main() { string foo = "123"; if(count_if(foo.begin(), foo.end(), isdigit) == foo.size()) { cout << "\nGreat!\n"; } cin.get() }[/CODE] Does not work on bloodshed v4.9.9.2!!! It outputs the following error: [QUOTE]no matching function for call to `count_if(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, …

Software Development algorithm c++
Member Avatar for Ravalon
0
158
Member Avatar for fsemilla

/*****in the book ive read, they gave me a code which will be placed in the .rss file as shown below...*****/ RESOURCE LISTBOX r_demo_listbox { flags = EAknListBoxSelectionList; array_id = r_demo_listbox_items; } RESOURCE ARRAY r_demo_listbox_items { items = { LBUF { txt = "Item1"; }, LBUF { txt = "Item2"; …

Software Development c
Member Avatar for fsemilla
0
121
Member Avatar for punithap

hai, This is punitha.Iam having some doubts regarding python (python extending with c).In our application python is used as a glue language.It is used to call c funcions(which is in the form of dlls).Once a c function is called,Pyhton variable receives the return value and it passes that value to …

Software Development python user-interface
Member Avatar for vegaseat
0
130
Member Avatar for sitaksnummi

Stuck with it for hours. Haven't slept since... Well, can't really remember. So can anyone help me out and point out what is wrong here? [code]program Taht; uses Crt,Graph; const Star1:array[1..18] of integer= (75,0,100,50,150,75,100,100,75,150,50,100,0,75,50,50,75,0); Star2:array[1..18] of integer= (200,150,225,175,200,200,175,225,150,200,125,175,150,150,175,125,200,150); var DriverVar:integer; ModeVar:integer; begin DriverVar:=Detect; InitGraph(DriverVar, ModeVar,''); SetFillStyle(1,Blue); FillPoly(9,Star1); SetFillStyle(8,Green); FillPoly(9,Star2); SetFillStyle(8,Green); …

Software Development pascal
Member Avatar for Ancient Dragon
0
285
Member Avatar for sean25hun

Create a DVD rental shop system using OBJECT ORIENTED programming approach. The system will create a list of ten DVD’s that can be rented from the rental shop. The system is used via the command line. When the shop begins trading a list of available DVD’s will be displayed. The …

Software Development c c# c++ video
Member Avatar for Salem
0
303
Member Avatar for rajbasu
Member Avatar for Salem
0
125
Member Avatar for Matt Tacular

I have a function which should work, and it actually does... just not all the time. Sometimes it just freezes. Can anyone identify a problem in the ai_northAmericaCheck(): function? Here is the code: [php] import random ai_countries = [] firstTurnsCountries = [] northAmericaList = [0,1,2,3,4,5,6,7,8,9] availableCountries = range(20) country0value = …

Software Development python
Member Avatar for woooee
0
96
Member Avatar for mattyd

About one month ago or so my Dr. Python compiler (interpreter) died. I had closed Dr. Python to go and eat dinner then came back to re-open and continued where I had stopped and... nothing. This came at a terrible time as I was in the middle of some very …

Software Development gui python
Member Avatar for Ene Uran
0
201
Member Avatar for jan1024188

I dont know how to use CopyFile() function in my "program" Can you help me? [CODE]#include <iostream> #include <windows.h> using namespace std; int main() { CopyFile(`C:\\start.exe` `C:\\Program Files\\banana`); system("color 2"); cout<<"POZDRAVLJEN UPORABNIK\n"; cout<<"STRAN WWW.EX-PLANET.COM TE POZDRAVLJA!\n"; system("start www.ex-planet.com"); cout<<"UPAM, DA SE BOS REGSTRIRAL NA NJEJ!\n"; cout<<"OBILO UZITKOV OB PREBIRANJU IN …

Software Development api c++
Member Avatar for ~s.o.s~
0
2K
Member Avatar for jDSL

Hi, this is my first post, and im trying to compare a matrix to find the minus element greater than zero, my list is matrix= [9,8,12,15], [0,11,15,18], [0,0,10,13], [0,0,0,5] I dont want to use "min" function because each element is associated to (X,Y) position. Thanks a lot ! jDSL

Software Development first-post python
Member Avatar for Ene Uran
0
103
Member Avatar for stevetook

Hello, I have three classes: Circle, Canvas and GameBoard. When I try to compile this I get the error `'cannot resolve symbol - constructor Circle(int,int,java.lang.string)'` I noticed if I delete the parameters of the Circle it will compile. Please could anyone tell me why it doesnt understand the parameters? Do …

Software Development java
Member Avatar for peter_budo
0
203
Member Avatar for jack19

I have to do a Project in C++I in mid level in C++. Can anybody provide me some guidelines. Thanking You.

Software Development c c# c++
Member Avatar for jwenting
0
144
Member Avatar for sneekula

I know that one has to be careful with mutable arguments like lists applied to function calls, so that things like this won't accidentally happen: [php]def add_item(list2): list2.append(99) return list2 list1 = [1, 2, 3] list3 = add_item(list1) print list1 # [1, 2, 3, 99] oops! print list3 # [1, …

Software Development python
Member Avatar for jrcagle
0
230
Member Avatar for unclepauly

i am using CreateThread to, unsurprisingly, start a thread :p is it possible to return a value? i need to return either true or false at least. ideally i need to return 0, 1 or 2 to indicate the success of certain things that go on inside the thread. I …

Software Development c
0
76
Member Avatar for needs_help

Hi, I am a dev-pascal program maker that wants to know how to read a line for a limited amount of time. Like for example, if I only wanted to give the user 1 second or 1 milisecond to send in data, how do I do it?

Software Development pascal
Member Avatar for needs_help
0
97
Member Avatar for Woeb

Hello, I'm still very new to C++ and have encountered some trouble in understanding how exactly the copy constructor for a stack class (given as an example in the book I've been learning from) using a linked list works. The interface for the classes: [code=c] template<class T> class Node { …

Software Development c++ linked-list
Member Avatar for Woeb
0
296
Member Avatar for BobbyBB

Im REALLY new to Java Programming and wanted to teach myself java. I download the newest version of the JDK from the website and have run into the javac problem. I keep getting the error that javac is not found or its not a operable program. (Something like that.) I've …

Software Development java
Member Avatar for BobbyBB
0
113
Member Avatar for Mushy-pea

Hello everyone. I read a couple of tutorials on x86 assembly a while ago. It was made clear in these that certain instructions need to be included at the end of a program to make it close properly. However, there was some inconsistency about how a program should be terminated. …

Software Development assembly
Member Avatar for Purple Avenger
0
113
Member Avatar for needs_help

Hello, I am an experianced dev-pascal programmer who would like to know more functions. If anybody knows any more code than the code up to uses files and text files, please post it here.

Software Development first-post pascal
Member Avatar for needs_help
0
163
Member Avatar for WhYuLoOkIn

[COLOR=#0000ff][COLOR=black]I am using Visual Basic Express, I hope you all still can help me. This program is used to calculate a cars speed related to speed limit. It has two user inputs, cars speed and speed limit. It will calculate any two digit # and one digit #, but when …

Software Development vb.net visual-basic
Member Avatar for WhYuLoOkIn
0
102
Member Avatar for kshamasb08

Hi, I am beginner of VB. Now I am working on VB 6. The project that I am working was working properly. I have added another form to that project. While inserting text box values into the database it is giving error 424- object required. When I insert the values …

Software Development visual-basic
Member Avatar for QVeen72
0
87
Member Avatar for yuni

Does anyone know how to do single instance in VB.. Pls help me...

Software Development visual-basic
Member Avatar for QVeen72
0
116
Member Avatar for jbennet

Ok ive made a VB blackjack game. just wanted to know if anyone can spot any problems (its homework) [code] [COLOR=#0000ff]Public[/COLOR][COLOR=#000000] pc1 [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]New[/COLOR][COLOR=#000000] card[/COLOR] [COLOR=#0000ff]Public[/COLOR] pc2 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] pc3 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] pc4 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] pc5 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] dc1 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card …

Software Development vb.net
Member Avatar for jbennet
0
84
Member Avatar for fastmike

my program will ask the user his last name and his first name. after that it will do a search to see if the last name and firstname matches with the list. if it does then it prints out the phone number if not then it will say name not …

Software Development java
Member Avatar for fastmike
0
632
Member Avatar for mahul000

String serverName = ? String portNumber = ? String sid = ? Plz answer my above queries , while conecting with oracle 9i and Java.... its urgent !!!

Software Development java oracle
Member Avatar for jwenting
0
151
Member Avatar for gracin

I am trying to link a class from the book “Core Java” that has worked for years. The class is called “Format”. When I try to compile, I get the error message: cannot resolve symbol symbol: method atof (java.lang.String) location: class Format The code that generates this error is: fYrDefol[j][iDay] …

Software Development java
Member Avatar for gracin
0
112
Member Avatar for hiekal85

this question want the calender,with a number of week and days. in germany,the 1st week is started with monday.i have a problem with the year 2000 and the month is in january.when i type it, it shows the 1st week is in 10th.january 2000, it should be on 3rd january …

Software Development c++
Member Avatar for Ancient Dragon
0
131
Member Avatar for Racoon200

Hi, i dont know [I]<<edited profanity>>[/I] about C. But maybe you can help me in some really light coding (i think). I want to do a plug in for any RTF editor, like wordpad, in which User-Defined Keywords, are highlighted. In this plugin it will also be possible to save …

Software Development c
Member Avatar for Racoon200
0
92
Member Avatar for jan1024188

whats the difference betwen C++ and Turbo C++ ?

Software Development c++
Member Avatar for andor
0
119
Member Avatar for JJarvis

Hi, I have made a simple Hello World tutorial for free download at a quick website I made. The website is [URL="http://www.freewebs.com/helloworldpascal"]here[/URL].

Software Development pascal
Member Avatar for JJarvis
0
104
Member Avatar for elodie

Hi, I'm having a problem with retrieving the text from a combobox. When i do the index of where the text is in the combobox is returned as well as the text. My code is as follows: [code] //default video format dirac_encoder_presets_t preset = VIDEO_FORMAT_CUSTOM; //get the video format selected …

Software Development c++ video
Member Avatar for elodie
0
109
Member Avatar for babutche

Hi, I am trying to average student GPA. I thought I had this problem solved but then I ran it and the GPA did not come out correct. Can anyone give any suggestions? [CODE]import string import math class Student: def __init__(self, name, hours, qpoints): self.name = name self.hours = float(hours) …

Software Development python
Member Avatar for babutche
0
1K
Member Avatar for naknik

Can i have a link to a program that deletes or fixes errors on the computer, cause my computer is working very very slowly, thnxs.

Software Development
Member Avatar for zabina
0
99

The End.