199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for RisTar

I need to create a function the gets a source string pointer and a destination string pointer , so if the source string will contain - "aaaabbbbbbcccdd" the function will return a destination string that contains "4a6b3c2d" This is my code , but its not working and for some reason …

Member Avatar for ~s.o.s~
0
134
Member Avatar for Rimm

I am using Visual C++ 2005 in my laptop. When I run the program, the answer shows up on the output window (similar to the > command window) and within a second or two the window disappears. How can I fix this problem? The same happens when there is data …

Member Avatar for Rimm
0
78
Member Avatar for hbmarar

Hi, Wishes. I am not comfortable with shell scripting though know a bit here and there. I believe the listing of a directory using php logic alone would not give appreciable performance if i have lots of nested directories. I really believe a shell commands would solve this and would …

Member Avatar for digital-ether
0
91
Member Avatar for aot

Thanks to mawe and Jeff for answering my first question. Next question: is there a way to get Tkinter to display the window without a title bar? I'm an experimental psychologist, and I don't want my participants to easily be able to exit my experiments... so hints on disabling alt-tab …

Member Avatar for scru
0
17K
Member Avatar for RisTar

Hi, im trying to create a function that gets two strings , the first string its the source , and the seconed is an understring . the function should return an int with the value of the position that the understring starts in the source string . so that if …

Member Avatar for RisTar
0
105
Member Avatar for nadith_cs

this is my prob. i used goto as follows [code=c] int main() { l1: int x-9; goto l1; return 0; } [/code] this works as infinite unconditional loop is'nt it? this compiles well.which means there isnt an error. so can you explain how this variable declaration works when it get …

Member Avatar for ~s.o.s~
0
127
Member Avatar for torbecire

The a.cpp file will not read from a.h, could someone please tell me why? I asked earlier but did not get much help due to bad posting. My apologies to all you who i have burdened with my rookieness(not a word). Hopefully i did it right this time. [code=cplusplus] // …

Member Avatar for Ancient Dragon
0
133
Member Avatar for FlamingBlade

Good day to everybody, new member here! :cheesy: Using: Delphi 7 with Database Desktop I've made my tables in Database Desktop, and as soon as I tried seting up Referential Integrity, it did not let me save, which stops me from progressing any further in my project. As soon as …

Member Avatar for jwenting
0
135
Member Avatar for BobbyRags

I've included the image as well as the HTML and CSS. The top of the screen (masthead) is giving me a problem. May be becuase of the image. Can someone give me a hand? Thank you very much! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>BobbyRags Personal Homepage</TITLE> …

Member Avatar for MidiMagic
0
296
Member Avatar for Collapse Troll

Hi! When i was passing the test, i got this question: [quote] "You are asked to design classes for a board game system. The board has 8X8 squares. The board game will allow the user to play "Chess" and "Checkers". The GUI is done by another team; you have to …

Member Avatar for Collapse Troll
0
130
Member Avatar for Tauren

Does anyone know any Winsock books I need them so I can learn about the functions and the coding about it. So if anyone has any books that They can post about that would help me out ty

Member Avatar for Tauren
0
125
Member Avatar for RobertNashon

Hi I'am having a problem in debugging this code of mine .There is a problem in the execution of cl.e file. This is the code; [code=c] #include<iostream.h> #include<string.h> #include<conio.h> #include<stdio.h> #include<stdlib.h> #include<math.h> class hospital { char password; int telno,mobno,fax; char name[20],log,address[20], website[20],email[20]; public: hospital; int loging(); void menu(); class reception …

Member Avatar for dwks
0
195
Member Avatar for MiloTN

Hey there everyone^^ Im almost finished on my mighty code of mighty... urm, -ness :mrgreen: The finished code is actually to calcuate displacement thicknesses of various velocity profiles (read from flies as floats) using the trapezium rule. Its sooo close, ive got a few little bugs remaining tho. Firstly, the …

Member Avatar for dwks
0
132
Member Avatar for livingsword

i dont know if this the appropriate forum for this question, I wrote few programs on turbo c++ ide and they work perfectly fine. but when i try to compile the same code in openSUSE 10.2 , i get errors like : clrscr not recognised, clreol not recognised, gotoxy not …

Member Avatar for dwks
0
141
Member Avatar for dangutm

how can i retrive data from database (mysql)and make it a drop down menu on a html form using php .and also if an iteam is selected from a fist dropdown before the next well become active.

Member Avatar for csscart
0
192
Member Avatar for torbecire

[Torbecire] I want to get the a.cpp to read from the a.h file. But it won't, i have done this class thing before and it worked on another program but won't work on this. Help me out. [code=cplusplus] // File a.h #ifndef LINEAR #define LINEAR class linear { public: linear(); …

Member Avatar for Narue
0
151
Member Avatar for ajay kandari

[code] #include<stdio.h> #include<conio.h> void values(int a[4]); void main() { int x[4],i; clrscr(); printf(" enter 1st number "); scanf("%d",&x[0]); printf(" enter remaining values "); for(i=1;i<4;i++) scanf("%d",x[i]); values(x[4]); [COLOR=red](cannot convert int to int* and type mismatch in[/COLOR] [COLOR=red]parameter 'a' in call to'value(int *)[/COLOR]' getch(); } void values(int a[4]) { int m,max,min,j; max=m; …

Member Avatar for Ancient Dragon
0
92
Member Avatar for hiddenben

I need some help because i am trying to do this use a Cn as new ADODB.Connection , and a Dao Rs as Dao.Recordset so i need to put this to together? because i had a test in my university and my teacher put this in the exam, and nobody …

Member Avatar for AycheKay
0
105
Member Avatar for Need_help!

okay so the problem is: I need to develop a program that determines whether a department store customer has eceeded credit limit on charge account. for each customer, the following facts are available: - accunt number Balance at the beg. of the month total of all items charged by this …

Member Avatar for Need_help!
0
134
Member Avatar for cfmatt

Hi all, Just need some direction on this: I need to start applying and developing applications in French and English. What i mean is the GUIs that i develop need to translate to French or English not translating word for word just the complete text. For example "Part Number" would …

Member Avatar for Sorcerism
0
118
Member Avatar for covertx

Hi all, I'm trying to add a little bit of extra functionality to my programme by using the Graphics class to draw lines in accordance to values held within text boxes... I've converted the values of two textboxes to Int32's like so: [CODE] gUK = Convert.ToInt32(tbUK.Text); gNotUK = Convert.ToInt32(tbNotUK.Text); [/CODE] …

Member Avatar for covertx
0
108
Member Avatar for Venks

Hai friends.. iam doing project in j2me.. i want to get the current time in mobile in hours minutes and seconds format.. and i want to display it in mobile ,is there any way to get the time? pl help

Member Avatar for Venks
0
108
Member Avatar for csharpa

Hello, I have tables which have relation. I want to know how can I set the PK value of table A which is the FK of table B while I can’t have “SET IDENTITY_INSERT BATTERY ON” for two table at one time? Thank you,

Member Avatar for JerryShaw
0
79
Member Avatar for Duki

hey everyone, I am including my code and was wondering if there is a prefered way to document? I have comments which describe what does what, but I'm wondering if there is a neater and/or more efficient way to do it... /***************************************************** * COSC 230 - Structured Programming * Chapter …

Member Avatar for Duki
0
100
Member Avatar for vinod_javas

hey guys., Help me out.. I am doing some project using java swing..in that i get stuck up with one problem in combo box... I am having 5 items in the combo box([B][U]Contains same item names[/U][/B]) for ex: abc abc abc abc abc when i select any one of these …

Member Avatar for jwenting
0
312
Member Avatar for jan1024188

I have a javac working in Linux, but I dont know how to get that in winows. Is there any nice GUI compiler for Windows?

Member Avatar for jwenting
0
150
Member Avatar for ITgal

Visual Basic 6 VBP Assignment Mail Order As a member of a development team involved in setting up the accounting and financial systems for a new mail order business for household items, your task is to develop an application to calculate the amount due for each order. The specifications for …

Member Avatar for WaltP
0
102
Member Avatar for Ashjenius

Hi everyone i am new to php and have recently adapted a php email form and would like someone to validate it for me to make sure that it is correct. [code]<?php if ($_SERVER['REQUEST_METHOD'] != 'POST'){ $me = $_SERVER['PHP_SELF']; ?> <form name="form1" method="post" action="<?php echo $me;?>"> <table border="0" cellspacing="0" cellpadding="2"> …

Member Avatar for jblacdao
0
162
Member Avatar for balagod

Hi, I want to know how to find the site no.of visitors maximum allowed , for example i want to develop a site ,but i don't know how many no.of users can acess the site maximum. Is it possible to know and improve this visiting users capacity through PHP code. …

Member Avatar for balagod
0
96
Member Avatar for rQQt2

Hello folks I'm trying to simulate a magic square algorithm, but having some problems. The program successfully creates the magic square, but when I'm trying to print it, the VC2005 compiler says "vector subscript out of range", which it shouldnt be. Any help would be appreciated. Cheers Here's the code: …

Member Avatar for rQQt2
0
449
Member Avatar for SoulDaddy

Hello, i am trying to make a CustomCheckListBox but i cant seem to get it to display my items the box itself creats fine and all the rest seems fine but it wont display my items any help on this matter would be greatly apreciated Thanks. here most of the …

Member Avatar for linux
0
420
Member Avatar for endsamsara

i need a program , that receives an input file with words and a puzzle and gives an output file, with the words and their coordenates in the puzzle. input has the number of words (3 in this case), the words to be found, and the text where the words …

Member Avatar for endsamsara
0
123
Member Avatar for chris99

How do I do this? In JustBasic I simply read from a text file and coverted the letter it found into an image that it loaded. I want it to load the image I need with this class: [CODE]def load_image(name, colorkey=None): """When this statement is accessed, coupled with the name …

Member Avatar for vegaseat
0
827
Member Avatar for sendkamal

Hello all, I have a very simple html table with collapsible rows and sorting capabilities. The collapsible row is hidden with css rule (display:none). When one clicks in the left of the expandable row, the hidden row is made visible with css. The problem is when i sort the rows, …

Member Avatar for MidiMagic
0
102
Member Avatar for alejo

[CODE]#include <iostream> using namespace std; int main() { char function; double num1, num2; char option; option = 'y'; cout << " Please enter two numbers: "; cin >> num1 >> num2; cout << "\n + for addition "; cout << "\n - for subtraction "; cout << "\n * for …

Member Avatar for alejo
0
119
Member Avatar for torbecire

[COLOR=DarkSlateGray]I am trying to write a file with extension h and a cpp file. When i try to compile the cpp file it gives me an error that says. [Linker error] undefined reference to `counter::counter()' . Could anyone help me out please. I am using a Dev.c++ compiler Here are …

Member Avatar for Lerner
0
97
Member Avatar for mjmythili
Member Avatar for WaltP
0
74
Member Avatar for jrcagle

So this isn't a Python question exactly, but the code is in Python, so there it is. I have a mostly-working version of pacman -- currently, one monster v. pacman -- that includes the usual features: eat the power-up, chase the blue or flashing ghosts, get points. When a ghost …

Member Avatar for G-Do
0
2K
Member Avatar for wavyaquaeyes

HI Can someone please help me. the book sucks, teacher will not help me (says I will not learn), I am trying to calculate Pay check. Just hours worked, pay, and overtime. :rolleyes: [B]Script is as follows:[/B] [code=php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Calculate Your PayCheck</title> …

Member Avatar for jblacdao
0
355
Member Avatar for kaushik259106

a picture link has been given. I want to do the same but it should work with database but not with folders and files.. that is i want my database made with MS Access to show like this where each node is the primary key and all the childs will …

Member Avatar for iamthwee
0
97
Member Avatar for livingsword

i want to initialize an array(set all elements to 0) . The array is to be used by different functions which r defined outside the class. obviously i cant initialize it in the class. and if i do it in a constructor or main(), it isnt recognised by all the …

Member Avatar for ~s.o.s~
0
119
Member Avatar for ctrohana

Hi guys, I need ur help. If I have character strings (data array file) as below: X001234 X001345Y002323 X00142 X001567 How do i program, if I want to enter Y002323 to the next line? and how I can add '0' character after X00142 so that the the array is like …

Member Avatar for ~s.o.s~
0
167
Member Avatar for japat

I am using c++ and would like to know the easiest way to turn decimals in to the form hours:minutes:seconds. You can assume the integer is in the form of hours (e.g. 242.4 = 242 hours 24 seconds etc) Also, I would like it so that seconds is to one …

Member Avatar for Ancient Dragon
0
74
Member Avatar for bploog

Hello, I am new to this. Hope I won't break any etiquette unknowingly. I DID my homework, I believe ... I'd like to get C/C++ code which allows me to get the path of the active application, ideally in the format of char. I wrote a program for which I …

Member Avatar for bploog
0
247
Member Avatar for linux

I am currently writing a game in Visual Basic 6. It is a role-playing game that has many real-life features, like buying shops, cars, houses, and also joining a gang. I need help with something. On the main GUI, which has options for a job, like a shop owner, a …

Member Avatar for linux
0
186
Member Avatar for bucwyld
Member Avatar for GTHD
0
240
Member Avatar for livingsword

I've got an assignment which says "Write a program to find complex numbers". Could someone explain the question ...what do i need to do? do i need to check the user input for complex no. ?? im not asking for codes, just the logic. Please help :sad: thanx for reading …

Member Avatar for ithelp
0
114
Member Avatar for dahlia_06

Hello people, I am new to this community and the only reason for why I joined here is to learn and get all my doubts clarified as I am learning C++ all by myself and also I dont have any computer literate people around me in my place. I started …

Member Avatar for dahlia_06
0
123
Member Avatar for Berniceazzopard

[B]Hi[/B] [B]I need printscreens of .exe and the it not returning a copy of the screen but its returning the characters in the screen. What s the problem?[/B] [B]Urgent Help pls[/B] [B]Thanks Loads[/B] [B]Bernice[/B]

Member Avatar for radu84
0
98
Member Avatar for MattEvans

I'm carrying this around in my signature at the moment, because I found the statement somewhat amusing: [quote] class `Matt' is implicitly friends with itself. [/quote] (Of course, the class wasn't really called Matt. I like the look of my own name. Perhaps). Preamble aside; the more I think about …

Member Avatar for thekashyap
0
89

The End.