132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cppnewb

Is there any way in a ifstream to change the font it writes in??? Thanks! Im using Microsoft Visual C++ Extended Edition 2005 on Windows XP

Software Development c++
Member Avatar for Ancient Dragon
0
110
Member Avatar for RayvenHawk

I'm doing an assignment for class and we're suppose to write a program that pops up a window with YES/NO/CANCEL buttons and when the user pushes a button another window pops up displaying what button they clicked. I wrote up the code and it does work, but it takes several …

Software Development c++
Member Avatar for RayvenHawk
0
118
Member Avatar for TasostGreat

I'm trying to write a program which reads a file really small size with two number and a character and ouput another file which can have up to 120.000.000 characters. My answer which is the fastest way to achieve this on Linux compiled with gcc i mean shouls i use …

Software Development c++
Member Avatar for TasostGreat
0
1K
Member Avatar for nor_d83

Hello there, I am doing my 'budget control system', and I want to make substraction from the value i entered in a textbox (budget for the year), with the sum of all the value in the 8th column of the MS Flex Grid data (which is the money used). Can …

Software Development visual-basic
Member Avatar for nor_d83
0
172
Member Avatar for Radly

I'm sure this is either easy or impossible. :) I have a Windows command console window open with a Python 2.5 interpreter running. I also have a text editor open on a module I'm debugging. What I'd like to do is make some changes in the editor, save the file, …

Software Development python
Member Avatar for Radly
0
88
Member Avatar for akb_behnam

Hi I am new in assembley and I need a sample source or a tutorial about mul of big numbers for example 10 disigts * 10 digits.

Software Development assembly
Member Avatar for badbloodyeyez
0
79
Member Avatar for arazum

How to initialize a const array with size defined in template before the constructor call?? [CODE=c++] template<int s> class something { public: const int array[s]; something(void) // uninitialized member `something<s>::array' with `const' type `const int[s]' { } }; [/CODE] razum

Software Development c++
Member Avatar for arazum
0
175
Member Avatar for tableray

i want to add the items of a combobox as dropdownitems of one of the menustrip selections.. how to do it dynamically?

Software Development vb.net
Member Avatar for rapture
0
189
Member Avatar for massivefermion

Hi ladies and gentle men I wanna use bloodshed dev-c++ 4.9.9.2 but when i wanna launch it,before anything happens,a dialog box comes up and says: [QUOTE]There doesn't seem to be GNU Make file in PATH or in Dev-c++'s Bin path.Please make sure that you have GNU Make and adjust Bin …

Software Development c++
Member Avatar for VernonDozier
0
400
Member Avatar for serkan sendur

1) vi . profile shows alias for commands, you can set the new ones. 2) esc = displays the file and folders in a numbered fashion. 3) esc – or esc k ( esc n does the same thing reversely) shows the previous commands 4) cd esc \ [type something] …

Software Development shell-scripting
0
57
Member Avatar for dmkp

Hi, I was in the understanding that applications created with Codegear/Delphi did not need any external libraries and that it compiled all the code into the exe? However with Delphi 2009 (using C++), my programmes were asking for rtl120.bpl, and various dlls before it could be used. I was wondering …

Software Development delphi pascal
Member Avatar for dmkp
0
170
Member Avatar for Mahsa_C++

Hi every one here, I am a university student of computer engeneering...altough still in the very begining i've got great interest making head or tails of programming stuff. I am new to c programming ..it's around months from the time we started learing & coding with that, We have entered …

Software Development c++
Member Avatar for Ancient Dragon
0
142
Member Avatar for wotthe2000

Hi, i'm having some trouble using the built-in apply function. I want to take a string in an external definition then apply definitions on it which are in a class. The code I have is: [ICODE] global msgstr def create_message(message, msgstr): if msgstr[0:3].upper() == 'CMD': return apply(message, (msgstr)) elif msgstr[0:3].upper() …

Software Development python
Member Avatar for wotthe2000
0
96
Member Avatar for bita

Hi I have a problem with linked list,i want to delete a node.q is a node that i want to delete and p is the node before q,i signed my problem in the code below could you plz tell me whats my problem,because it doesnt work?(it's a Circularly-linked list) [code=c] …

Software Development c++ linked-list
Member Avatar for Freaky_Chris
0
127
Member Avatar for Cyberbanana1

In our class we have usually been just programming with the command prompt, no visual stuff. but now, in what my teacher calls "making pretty pictures" we're supposed to make a graph. The only this is, i have no idea how to make actual pictures or colors come out. I …

Software Development c++ visual-studio
Member Avatar for Cyberbanana1
0
93
Member Avatar for emptypockets304

I've been working in C# for the first time these past few days and while I'm getting most of it, there's a few quirks i'm not quite sure about. My current problem is I am developing a program that needs a database, but because I'm going to be moving it …

Software Development visual-studio
Member Avatar for Ramy Mahrous
0
132
Member Avatar for kaczmar86

I have function which randomizes numbers: [CODE=csharp] public int losuj() { Random losowanie = new Random(); int los = losowanie.Next(0, 9); return los; } [/CODE] I want to fill array with numbers generated by [iCODE]losuj[/iCODE] function, so I wrote: [CODE=csharp]for (int i = 0; i < 9; i++) for (int …

Software Development
Member Avatar for ddanbe
0
162
Member Avatar for srs_grp

We want to write byte array to a file.The code given below works correctly for only one byte array.When we try to write more than one byte array,the previous byte array gets overwritten. How can we achieve this? [code] import java.io.*; import java.nio.*; import java.util.logging.FileHandler; import java.util.logging.Level; import java.util.logging.Logger; import …

Software Development java
Member Avatar for ~s.o.s~
0
147
Member Avatar for Bladtman242

Hi again, first; i realise this peace of code is stupid, it has been taken out of context, altered for the sake of simplicity etc. I wonder if the problem is the quite large number stored in int to (changed to unsigned long int) i have read on cplusplus.com that …

Software Development c++
Member Avatar for Bladtman242
0
162
Member Avatar for smithss

Hi i have written a standard library function 'strcat' on my own, even though the output seems ok, can someone please verify if what i'm doing is right? i get confused using pointers. [code] void mystrcat(char *a,char *b) { while (*a++ != '\0'); *a--; while (*a++ = *b++); } [/code] …

Software Development c++
Member Avatar for smithss
0
115
Member Avatar for mr.white

Hello dear forum members, I was wondering why there is no "intellisense" support when working with a *.cs file which is located in app_code folder of an asp.net c# project. I can see that intellisense functions correctly when I'm working on a *.aspx or codeback file but when it comes …

Software Development asp.net
Member Avatar for mr.white
0
164
Member Avatar for fanatic

Hello I am having problems with parsing a String array so that i could format it in a way that i could convert it to an integer. Here is piece of the code: [code=java] String names[] = something.toArray( new String[something.size()]); String strNames= new String(); String parse = new String(); for …

Software Development java
Member Avatar for fanatic
0
109
Member Avatar for gauravmishra

I have a java program that take snapshots of my screen at say 10 pics per second i want to send it to another computer in the same sequence i tried to send images by writng them one by one on the outputstream OutputStream os=incoming.getOutputStream(); ImageIO.write(img,"jpg",os); but i am able …

Software Development client-server java
Member Avatar for ~s.o.s~
0
960
Member Avatar for kevintse

Well, I know there are so many IM services. and that I want to build an IM system is just for practicing my programming skill. Here there are several questions that come up to my head when starting to design it. As far as I know, we can only receive …

Software Development client-server java
Member Avatar for PoovenM
0
143
Member Avatar for Squirrel1984

When an object is created are these stored on the client CLR or in the Server CLR? or if im completly off where are objects stored after instantiation?? Thanks in advance :)

Software Development client-server storage
Member Avatar for Squirrel1984
0
117
Member Avatar for IMtheBESTatJAVA

I was given a movie list, and I was asked to make a program to retrieve information from it and eventually modify the program to find certain movies. Right now I have a Collection class and a Movie class. The Movie class look like this: [CODE] import chn.util.*; import apcslib.*; …

Software Development algorithm java
Member Avatar for peter_budo
0
851
Member Avatar for tableray

i want to fill up the userID and password fields of the yahoo mail login page with the click of a button on the form but just cant get it right. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("https://login.yahoo.com/config/login_verify2?.intl=sg&.src=ym") Private Sub Button1_MouseClick(ByVal sender As Object, …

Software Development vb.net
Member Avatar for Teme64
0
183
Member Avatar for dinilkarun

Please help me in automatinng the following in my EXCEL sheet using VB. I want to make my first two rows as Repetitve in every page of print.In excel it can be done as PAGE SET UP->SHEET -> Print titles -> "Rows to repeat at top". here i can choose …

Software Development visual-basic
Member Avatar for Comatose
0
138
Member Avatar for bulger2503

Hello from Australia =] My question is rather simple but confusing. When i create abstract classes i alway create them so it can be extended at a later date by a normal class, The ByteBuffer in the nio package is unable to be extended due to its private constructor. In …

Software Development api java
Member Avatar for ~s.o.s~
0
251
Member Avatar for alfred210989

excuse me, i want to make explosion in c++. n i got trouble.. i really dont know the psudocode after i try to make it in paper a whole day. anybody can help me? i will specially give a thank you if can give me the real program of explosion …

Software Development c c# c++
Member Avatar for alfred210989
0
1K
Member Avatar for igok

hello, i'm trying to write a function in C that finds two subsequences that thier sum is equal. hope you can help me. thank you!

Software Development c
Member Avatar for igok
0
122
Member Avatar for smelf1

Hi all, I would like to be able to read data from a text file, be able to edit it and save the new edits to that file over writing the old ones. [CODE] Dim FILE_NAME As String = "C:\cat4\text.txt" Dim TextLine As String If System.IO.File.Exists(FILE_NAME) = True Then Dim …

Software Development vb.net
Member Avatar for Teme64
0
171
Member Avatar for Umeed Alam

Hi! I've recently joined this forum. I need help to solve this querry.I had tried but couldn't solve. Please please help me. . I,ve to make simple software for Pizza Hut Front Desk Manager using Visual basic 6 coding . software should have the following features: • Manager can enter …

Software Development visual-basic
Member Avatar for Umeed Alam
0
117
Member Avatar for fantasy416

How can i sort a file when given a list of various countries and their population size in two different files... How can i sort them together so that the output shows country and population... please someone help me is for a assignment??? thanks

Software Development java
Member Avatar for stultuske
0
98
Member Avatar for animefun2

THIS IS WHAT I HAVE DONE SO FAR (QUESTION BELOW IT) [CODE]class Customer { public: int noOfCalls; String custName; virtual Compute_Bill(); }; //define function, contructors etc by Customer::Customer() etc class Premium_Customer: public Customer { //premium specific function that inhereit from customer }; [/CODE] HERE IS THE QUESTION I need help …

Software Development algorithm c++ oop
Member Avatar for Murtan
0
111
Member Avatar for paucki

Hello ! We, a group of 3 persons, Omar, Neil and Paul, will be working on a java-project for university, until january 21. It's our first GUI-program, we have decided to develop a slideshow following these ideas: for another subject on university we will install an online-picture-gallery based on PHP …

Software Development gui java
Member Avatar for stultuske
0
140
Member Avatar for rpjanaka

hi all im janaka priyadarsahana i want to write actions for buttons. i have 4 buttons and when they click i want to do four seperate things for this i have several options 1. create new class by implimenting Action listener interface and using an object of that class, can …

Software Development java
Member Avatar for stephen84s
0
94
Member Avatar for jpbaroma

how do i use the setfocus method in vb.net and also how do i use keyascii=13 on keypress event of textbox? i want to have a textbox that when enter key is pressed, the focus shifts to another textbox.

Software Development vb.net
Member Avatar for Ramy Mahrous
0
92
Member Avatar for jmoo5

Have to write a program that mimikes a grep. It has to search thru a given file for a certain pattern. I have no idea where to start. Help please.

Software Development c
Member Avatar for Salem
0
92
Member Avatar for Phil++

So basically, I'm creating a switch statement that if the user enters a p or if they enter a P it will still work, any ideas? Thank you

Software Development c++
Member Avatar for grumpier
0
117
Member Avatar for Phil++

Basically what I am trying to do is get the width and height of the doors in a room. The user enters the number of doors in the room, it then goes into a for loop which then asks for the width and height of each wall. The problem is …

Software Development c++
Member Avatar for Phil++
0
92
Member Avatar for jvignacio

What part of the HTTP header is always provided as part of the response of a CGI program? thanks guyss

Software Development python
Member Avatar for jvignacio
0
115
Member Avatar for tomtetlaw

i am doing the 'getting started' tutorial that comes with the dark gdk, and i ran into this error: c:\documents and settings\tom\my documents\visual studio 2008\projects\hello world\hello world\main.cpp(6) : error C2065: '“animatedsprite' : undeclared identifier heres my code(that i copied from the pdf): [code=c++] #include "DarkGDK.h" void DarkGDK ( void ){ …

Software Development c++ pdf visual-studio
Member Avatar for springwater
0
170
Member Avatar for dparas

Hello guys, I ve been searching for a long time for an algorithm (in c++) that would take the number of digits and give all the possible combinations between 0 and 1. For example for number of digits 3 will give 100 010 001 110 101 011 111 The funny …

Software Development algorithm c++
Member Avatar for ArkM
0
1K
Member Avatar for wheatontrue

Dear all, I am having a lot of trouble using programs I programmed in python 2.5 - having upgraded to 2.6 I find that every function/class that makes use of SSL receives this error: Traceback (most recent call last): File "<pyshell#10>", line 1, in <module> import ssl File "C:\Python26\lib\ssl.py", line …

Software Development python
Member Avatar for wheatontrue
0
101
Member Avatar for abhi_marichi

I want to know how can we interface compilers so that we can mix up many languages together but still the code should work. One of my thoughts is, if there is any code in C allthose codes must be taken apart and must be compiled by C compiler and …

Software Development c
Member Avatar for death_oclock
0
140
Member Avatar for titosd

Hello, I have a question, How I can write a function that return 2 values. the function should take 3 numbers and do between the first and the second number an arethmetic operation and check if the result will be the third number, if yes the function return 1 and …

Software Development c
Member Avatar for death_oclock
0
169
Member Avatar for noodlecode

Ok i have a few questions. I'm fairly new to programming. Im starting to get a little functional with java, i can handle GUI's, threads, exceptions, 2d graphics, JDBC etc. I took a class in C++ only to find that I am not even close to producing graphics or GUI's …

Software Development api c++ gui opengl windows-api
Member Avatar for Freaky_Chris
0
161
Member Avatar for chicago1985

For my Java class with resultset I am trying to get the request.getParameter value. Please advise if this is the correct way use the request object in a Java class because I cant seem to get any data from the request object. [code] ... import javax.servlet.*; import javax.servlet.http.*; ..... HttpServletRequest …

Software Development java
Member Avatar for PoovenM
0
211
Member Avatar for ace_dman

I just want to ask something about using a stack in maze Im confused about implementing stack in c++.is it possible that I can insert a multidimensional array in a stack,how?:S (can you please give me some little bit of codes in order to do that) I did already a …

Software Development c++
Member Avatar for ace_man
0
2K

The End.