199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for casper_wang

Greetings fellow coders, I have read many tutorials, and tried many different code snippets but I have hit a brick wall and decided its time to give my brain a rest and see if other coders can find a solution. with the push of a button I will log into …

Member Avatar for redagent
0
471
Member Avatar for SpyrosMet

Hello. I need an example of how to pass an array of pointers to objects as a parameter to a function or a constructor. It's urgent. Please help me. Thank you.

Member Avatar for Narue
0
190
Member Avatar for john_prince

Hi, In our organization, there are lot of users who do not have their phonenumber in proper format. the correct format is : xxx-xxxx. Therefore, i've pulled out a all users report, consisting of two columns, one with name and other with phonenumber, the report is in csv format. Does …

Member Avatar for d5e5
0
83
Member Avatar for sidra 100

plz chk i want to overload compound assignment operator bt its gving me some error[CODE]#include <iostream> using namespace std; class strng { char s[30]; public: strng() { strcpy(s,""); } void getstring() { cout<<"enter the sting:"; cin>>s; } void displaystring() { cout <<"the string is:"<<s<<endl; } string operator +=(string &t); }; …

Member Avatar for sidra 100
0
123
Member Avatar for solitude_spark

dis is a simple c program.. but while using it in borland c++ 4.5 ,, declaration syntax error is being displayed at file1.h ..why so? file1.h [CODE] #define USD 1[/CODE] file2.h [CODE] #define UKP 1 [/CODE] file3 [CODE] #include<stdio.h> #include <file1.h> #ifdef USD #define curr 46 #endif #ifdef UKP #define …

Member Avatar for Nick Evan
0
86
Member Avatar for antihero0021

I have a C# desktop application project for school that uses an Access 2003 database (not designed by me) and I am running into issues using OleDBDataReader. It has been awhile since I have programmed anything and I have never had to connect to an Access database before, so this …

Member Avatar for antihero0021
0
93
Member Avatar for Stefano Mtangoo

Hello guys I want to make little application to convert png files to xpm I wonder what is the easiest approach! Load the image in DC and save as xpm? or what? Thanks!

Member Avatar for Stefano Mtangoo
0
79
Member Avatar for justsawyer

How would I make or find a spellcheck for wordpad and I don't mean like all spellchecker I mean like a built in spellcheck like in word were you just press F7 and bam no haveing a whole other program up so how would I even start to make that?

Member Avatar for tetron
0
144
Member Avatar for veledrom

Hi guys, I am having difficulties to purchase a HONEST and DECENT Linux hosting for my PHP + MySQL website. I am asking you to suggest me one or two based on your experiences because most of hosting companies offer very exciting stuff but most of them are hustlers (I …

Member Avatar for mschroeder
0
898
Member Avatar for miteigi-san

I'm still working on the same problem. Im doing a text-twist code for c++ as part of our school requirement. Last time, I'm having problems on delaying outputs using CLOCKS_PER_SEC and clock(), but thanks to some people, I solved that problem already. Now, Im working on the game's play mode. …

Member Avatar for tetron
0
546
Member Avatar for isuruj

I need to automatically generate ER diagrams by giving the database schema. If somebody knows a free and open source tool for that, please tell me.

Member Avatar for jazz_vill
0
87
Member Avatar for sathya8819

Hi, I would like to know the idea behind one issue. In some sites, when you register using your email id, an automatically generated email is receieved in your inbox, which contains a link that you must click to activate your membership. How is this done? Can anyone help me …

Member Avatar for sathya8819
0
274
Member Avatar for robbtek

Hello , I need to pass a system (linux) result to a varaiable . Example : ... char KERNEL = system("uname"); printf(KERNEL); ... this example dont work , can you help me ?

Member Avatar for Salem
0
373
Member Avatar for the_caesar

I have a make file which compiles my C++ code on RHEL5. It contains the compilation flags as listed below. Where can I get the description of following g++ compilation flags: -D_UNIX -D_REENTRANT -DUNICODE -D_UNICODE -D__LITTLE_ENDIAN__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_LARGE_FILES -DLINUX -D__x86__ -D__linux__ -D____ -D__OSVERSION__=2

Member Avatar for Salem
0
82
Member Avatar for Dizzzy

Ok so I am having a problem using the method stat(), I need to find the filesize of a file and return it as a const char *, So i would need to convert the int value to a char. This is what i have now which does compile but …

Member Avatar for mitrmkar
0
315
Member Avatar for Tech B

Everything works great. But sometimes I get an Error message saying something about ip/port bindings. I don't have the traceback but this could cause problems down the road. Any suggestions? [code] #Backdoor Server #Version 0.3.0 #Every now and the I get an Error dealing with the ip/port bindings # seems …

Member Avatar for snippsat
0
2K
Member Avatar for MDGM

hi all, I have a php script that saves what the user types in into a text file using fwrite, and displays it on another page using file_get_contents. When putting in a pound sign (£), it saves the following to the text file: £ Any idea how I can stop …

Member Avatar for almostbob
0
243
Member Avatar for suncica2222

I use MS VC++6 and when I type code I have problem...let's say I have 123456789 typed and I place cursor between 4 and 5 and than type "something" I get 1234something and not 1234something56789 so it deletes and wont shift right :S also enter doesnt brake new line,space,backspace.... I …

Member Avatar for suncica2222
0
89
Member Avatar for Helium

Hi I have a table with two columns (ID,ROW) I need to make the ID COLUMN unique and increase it value by 1 for each row. ----------------------- ID ROW 1 NULL 1 NULL 1 NULL 1 NULL How can I replace the each 1 with sequentially increased value? to be …

Member Avatar for apegram
0
153
Member Avatar for SpyrosMet

My problem is the array Field which is considered by the compiler as undeclared. I declared the array in main and i'm trying to access it through the following .cpp file. animals.cpp : [CODE]#include <cstdlib> #include "organisms.h" #include "animals.h" // class's header file // class constructor Animals::Animals() { } void …

Member Avatar for SpyrosMet
0
133
Member Avatar for ausmaya

Hi, i have started to learn javascript. To run javascript.. browser window and notepad is enough or i need to load java s/w also, i'm not getting output for this coding..can any one help me pls??? <!DOcTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>first java script …

Member Avatar for almostbob
0
124
Member Avatar for zachattack05

I've been having problems figuring out a way to do this. I need it so that if the user opens form a and then later on buries that form under others, and they click the menu to open the form again that it just sets focus to it instead of …

Member Avatar for zachattack05
0
3K
Member Avatar for kylcrow

I am getting this compiler error: gcc -g -Wall -O2 -c -o mybash.o mybash.c mybash.c: In function ‘main’: mybash.c:39: warning: implicit declaration of function ‘getline’ mybash.c:41: error: expected expression before ‘)’ token make: *** [mybash.o] Error 1 It probably has to do with something I don't remember about initializing and …

Member Avatar for kylcrow
0
157
Member Avatar for PuQimX

i want to add condition if >100 is error but when im try to add the condition the program is running but not what i want... can somebody tell me what should i do..tq import java.util.*; public class test_scores { public static void main(String args[]) { Scanner input = new …

Member Avatar for tjsail
0
210
Member Avatar for cmsc

please help me find the error in this code. whenever i try to get the successor, the program gets the status access violation error. i think it's the parameter. i try using the minimum function outside the delete and it works. but when i try it inside the delete i …

Member Avatar for cmsc
0
197
Member Avatar for bd338

Hello everyone! I'm currently making my own implementation of java.util.List, and it's going pretty well. I've just run into a minor problem. I'm currently doing the 'addAll(int index, Collection<?> c);' method. But I can't seem to figure out how to make it start at the specified index.. this is the …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for Dasau

Hi I would like to know what operator to use for a number in between my input. Is it something like this? If I input the number between 116 and 200. [CODE]else if (Earn>=116)&&(Earn <=200)[/CODE]

Member Avatar for stultuske
0
66
Member Avatar for vamsicoolman

I am having a service which run using a batch file in command prompt, I want to read the whole information running in the console and want to write it to an another file but I am able to write it only when the service is closed completely. So I …

Member Avatar for Stefano Mtangoo
0
99
Member Avatar for mvignesh31

hi, i want to send my perl output to a notepad. is it possible.. for instant, my perl result with some dna sequence should be copied to a new text file. is it possbile... can any one help me.

Member Avatar for onaclov2000
0
115
Member Avatar for funfullson

I have a code that plays fast _it's order is log(n)_.I have to meter it's play's elapsed time.I used from time.time() and time.clock() but they returned 0.I need a timer witch meter nano second. How can I do it?

Member Avatar for vegaseat
0
106
Member Avatar for Mobius1234

print"Enter the number of Cricketers: "; $list=<STDIN>; chomp $list; until($list<=0) { print"Enter Cricketer name: "; $name=<STDIN>; print"Enter a number: "; $number=<STDIN>; chomp $number; $list--; push(@names,$name); push(@numbers,$number); } print"Cricketer's name and the corresponding number are\n"; format STDOUT=@<<<< @>>>> "@numbers", "@names" . I have this code. The question is "Write a program …

Member Avatar for onaclov2000
0
119
Member Avatar for xlx

hi there i wanted to know if there is something like global or extern variables (in,c language),which i can use in every class ?! and my other question is ,if is there a complete tutorial on netbeans gui builder , because i have lots of problems about jframes. thanks a …

Member Avatar for xlx2
0
102
Member Avatar for solomon_13000

I do come across many sites that teaches how to create a link that expires. I decided that once a person registers and if successful the person will be taken to a thank you page. In that thank you page, the person will be introduced to a one time offer. …

Member Avatar for TinsaeG
0
98
Member Avatar for jemz

hello please help me i have picture then i want to put on my JButton but the problem is that my picture is too big its jpg file how to make this bmp file so that it fit to my Jbutton..hoping for your positive responds

Member Avatar for jemz
0
185
Member Avatar for Cory_Brown

I'm a bit confused of the usage of the += operator. I understand that it is a compound operator that is used to both add and assign. However I've seen it used in the following manner. Class objectVar += new Class what is different about that vs Class objectVar = …

Member Avatar for privatevoid
0
132
Member Avatar for jemz

hello please help me on the sql statement on how to display in descending order example select*from my_table......please help whats the next of it i want to display in descending order....also please give me what are the sql statement so that i can be familiar of it ..hoping for your …

Member Avatar for jemz
0
82
Member Avatar for lifeworks

Hi Need some advice - Ive been going more and more OO in my coding, just coming into some best-practice issues... Lets say I have a User object, and the user has some contact details... whats preferential, to call the getUserDetails() and include the layout HTML in that method, or …

Member Avatar for blocblue
0
95
Member Avatar for bombasstic
Member Avatar for TomW
0
129
Member Avatar for lee.j.baxter

Hi folks, I'm developing an AI system in C# that will pull out information from the internet in various forms and learn from it. The system will consist of a multitude of agents that interact with a very large central database of knowledge. At the moment I'm at the prototyping …

Member Avatar for lee.j.baxter
0
224
Member Avatar for Clawsy

Hi, I have a pixel array grabbed with [I]PixelGrabber[/I]. I done some computation with it and now I need make a BufferedImage from it. The problem is I can't make it very fast, just slow. I made an Image type object from it then I converted it to a BufferedImages …

Member Avatar for JamesCherrill
0
2K
Member Avatar for whiteyoh

Hi All, I have a number of different tables storing various bits on information. Ib wanting to create a control panel for it, which will initially give a record count for each table. How can i run queries from multiple tables in one connection? Ive tried connecting then running a …

Member Avatar for adamramadhan
0
483
Member Avatar for sandeep.snl

how can we handle exception ,make entry to log file using Microsoft enterprise library in Asp.net Web Application.

Member Avatar for sandeep.snl
0
83
Member Avatar for sidra 100

Although for consistent and reusable design we follow Object Oriented paradigms; “structured approach” has still its worth in some imperative and critical application. wat do u people say about this

Member Avatar for jonsca
0
95
Member Avatar for takeshi

Knows the code importing file in mysql using php? that would save all the data saved in excel to mysql database..tnx GOdbless

Member Avatar for takeshi
0
98
Member Avatar for rakshavprabhu

Hi I am a novice working with Java and the eclipse IDE. What I want to read words from a text file, store it as a list converting it to some uniform case. Then I input some word/sentence from keyboard and check whether it is present in the file. Well …

Member Avatar for rakshavprabhu
0
111
Member Avatar for azegurb

hi all I took PHP news script from Turkish site it is good news script but it has a little disadvantages for example i fill all regurired fields and submit it shows first recently added news and picture one in a large format and one in a little format but …

0
200
Member Avatar for trytrytry

I am new to this forum & programming world.....sorry if i post it in worng section.. I am writing a vb program. program working a given below 1-- when the program starts there should be a window with a button (the button is directed to a web link eg. [url]www.facebook.com[/url]) …

Member Avatar for kinwang2009
0
128
Member Avatar for suncica2222

I need function that sends to email (text.txt file) in SMTP protocol? I've googled it up but I mostly found C# or VB codes... Can I get a link or code of such function?

Member Avatar for suncica2222
0
285
Member Avatar for anishakaul

Can any one point out links to some small projects w.r.t C++ ? Now when I say small projects, It [B]doesn't mean[/B] building a calculator or matrix multiplication programs, [B]nor[/B] does it mean building games, [B]nor[/B] does it mean dealing with databases, What I actually want is to use the …

Member Avatar for kvprajapati
0
95
Member Avatar for web_test

Hi, I am very new to python. Please , Can some one tell me how to post the data to a form. I need to test the user login page by entering username , password values. There is a also login button next to these fields.

Member Avatar for web_test
0
263

The End.