199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for platinum8

I'm interested to lean C++, but I don't have any idea about which book is good for beginners any suggestion will be appreciated. Thanks in advance

Member Avatar for William Hemsworth
0
82
Member Avatar for geex

hey will someone give me a code of a fiel sharing peer to peer application so that i can get familiar with it because even though all the researches are helpfull but i have to read some code to understand it better thanks

Member Avatar for javaAddict
0
122
Member Avatar for bufospro

Hi , I am new in C# programming and I am trying to implementate something like site in c#. On the top of my form1 I have four LinkLabels and when an user clicks one , he goes to another form but the initial form1 still exists. I am trying …

Member Avatar for LizR
0
124
Member Avatar for aadebayo

Hello I am currently writing a program that generates an XML file. I am having some minor difficulty. I need it to look like below [code=xml]<?xml version="1.0"?> <?xml-stylesheet type='text/xml' href='test.xsl'?> <!--sample xml file created using XML DOM object.--> <GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope"> <EnvelopeVersion>2.0</EnvelopeVersion> <Header><![CDATA[<some mark-up text>]]></Header> <node3> <subNode1/> <subNode2/> <subNode3/> </node3> </GovTalkMessage>[/code] …

0
150
Member Avatar for laghaterohan

I am really at my wits end now....i am unable to find ne proper code for autonumber generation...if i do find its not working. plz i want it ..i am using sql server 2000 and vb.net 2005. just tell me can we make use of max function ? ie. first …

Member Avatar for laghaterohan
0
242
Member Avatar for Nz Evox

Hi guys, well i have a application which changes the resoloution on the computer (works fine) i have the code to change it back to the original, say on a button click however i dont know the code for running it when the application is exited as i need to …

Member Avatar for LizR
0
54
Member Avatar for shobha1335

[B][/B] Hi, I have 3 radio buttons which are in the radio button group. On tab change it has to focus on next radio button. I have written a function to do that, but Its going from first to second radio button, after that again its coming back to first …

Member Avatar for essential
0
1K
Member Avatar for crotty99

Hey everyone, im working on a project for uni. The question wants me to read from a text file, place the info into an array, sort the information in that array and write it to a new file with the sorted information. So far i have been able to read …

Member Avatar for crotty99
0
113
Member Avatar for zegames

[CODE=php]<? $url = 'http://www.gamespot.com/pages/search/search_ajax.php?q=grid&type=game&offset=0&tags_only=false&sort=rank'; # regular page: #url = '://www.gamespot.com/search.html?type=11&stype=all&qs=grid'; function disguise_curl($url) { $curl = curl_init(); $header[0] = "Accept: text/xml,application/xml,application/xhtml+xml"; $header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; $header[] = "Cache-Control: max-age=0"; $header[] = "Connection: keep-alive"; $header[] = "Keep-Alive: 300"; $header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"; $header[] = "Accept-Language: en-us,en;q=0.5"; $header[] = "Pragma: "; curl_setopt($curl, CURLOPT_URL, $url); …

Member Avatar for zegames
0
189
Member Avatar for W@n

Hi i am facing a problem of passing data from a text file to array. i have read the text file but somehow i can't pass it into the array and it keep giving me nullPointerException. Can someone help? Is there something wrong with my code? And how do i …

Member Avatar for W@n
0
145
Member Avatar for dillen

Hi, I would like to start a sub in 5 seconds from now. The sub will need to perform only once. Should I use the timer event or there better way ? Thank Dillen

Member Avatar for Jx_Man
0
104
Member Avatar for veledrom

Hi, How can store [inlinecode]$_SESSION['id']="myId";[/inlinecode] for 5 hours? I tried cache thing but, when i closed IE it expired. When i echo $_SESSION['id'], it doesn't return any value. Thanks [code] session_cache_expire(150); session_start(); $_SESSION['id']="myId"; [/code]

Member Avatar for digital-ether
0
108
Member Avatar for ditty

Pls help me to add two times which is in mysql database table....Very urgent...Thank you

Member Avatar for Shanti C
0
118
Member Avatar for wertz33

im trying to do a button that will be able to add automatically textboxes,radiobutton or other forms. [B]for example of this is that i have 1 row that consist of a textbox and radiobuttons, then below there is a button named add. when i click add same row will be …

Member Avatar for Shanti C
0
70
Member Avatar for shailesh_007

Hi All, I am new in vb.net. I am using Visual Studio 2003 and sql 2000. I want to use configuration manager to retrive the connection from app.config But I am getting error " Name 'ConfigurationManager' is not declared" the code, I written, is as follows: Imports System.Data.SqlClient Imports System.Configuration …

Member Avatar for shailesh_007
0
930
Member Avatar for Flawless
Member Avatar for brain
0
2K
Member Avatar for ithelp

In [code=c] int main(int argc , char *argv[]) [/code] What could be the maximum length of string in argv ?

Member Avatar for ArkM
0
151
Member Avatar for vijaysoft1

in my program [ICODE] class list /// list class { private: int *Data; int Size; num; public: list() // constructor { size = 1; num = 0; } void add(); // member function }; void list::add() /// { char choice; do { Data = new int[size]; cout<<" \n Enter item …

Member Avatar for raul15791
0
140
Member Avatar for PuQimX

i want to write a program that determine a student’s grade. It reads three test scores (between 0-100) and calls a function the calculate and return a student’s grade based on following rules: (a) If the average score is 90% and more, the grade is ‘A’ (b) If the average …

Member Avatar for raul15791
0
706
Member Avatar for kohuke

This is the error what i get when i try to run my project: [CODE]Local Exception Stack: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/11/2008))): oracle.toplink.essentials.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/varad1 Error Code: 0 at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:305) at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:102) at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource (DatasourceLogin.java:184) at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource (DatabaseSessionImpl.java:582) …

Member Avatar for kohuke
0
757
Member Avatar for ambarisha.kn

I have input files like this a.iup b.iup c.iup....... i have these input files in a variable called fname; like this char *fname="c:\\iupfiles\\a.iup"; every time i will get file name in this variable. But how to concatenate the variable with some other name like as follows in output file name. …

Member Avatar for ambarisha.kn
0
78
Member Avatar for PuQimX

"I want to write a program that determine a student’s grade. It reads three test scores (between 0-100) and calls a function the calculate and return a student’s grade based on following rules: (a) If the average score is 90% and more, the grade is ‘A’ (b) If the average …

Member Avatar for AceofSpades19
0
553
Member Avatar for laghaterohan

Can ne one of u plz tell me how to search a particular record in the database ? my prob is that when i enter say an ID / Name it should search into database for the same and accordingly if the record is found my cmdbutton will be enabled …

Member Avatar for laghaterohan
0
107
Member Avatar for PuQimX

somebody please help me to correct this coding program [code=c] #include <stdio.h> void readmarks (int* num1,int* num2,int* num3); void grademarks (int num1,int num2,int num3,int* num4,int* num5,char* grade); void printmarks(char grade); int main ( void) { int num1; int num2; int num3; int num4; int num5; char grade; readmarks (&num1,&num2,&num3); grademarks …

Member Avatar for Aia
0
127
Member Avatar for JoseCarlos

Hey..i'm new here and i'm actually taking a course related to C++ Programming. My assignment is to create a simulation on an agenda.. the agenda is a daily agenda, it only works for one day (so you will not see what day it is, it's general) it stores info in …

Member Avatar for JoseCarlos
0
102
Member Avatar for monkey_king

Hi, given a char(8bit's), I want to get the value of every 2bits, so that a char will contain 4 values. This is easily done with a shift left command (<<2). As far as I understand, char arrays are simply the different chars in consecutive order in the memory. so …

Member Avatar for monkey_king
0
2K
Member Avatar for sciwizeh

I am using Visual Studio 2008, and i am working with a single document application, it is CView Based, and i want to know how i can in addition to the view, that i will be drawing on, how i can add controls, like CButton and CListBox. do i have …

Member Avatar for sciwizeh
0
2K
Member Avatar for bajanpoet

Hi guys! Long time no see! I'm trying to get a datagrid to work, but although when I run it there is no error, nothing appears on the datagrid. Yet, there seems nothing wrong with my code: [code=VB.NET] SQL = "select * from upload " & _ "where field003 like …

Member Avatar for bajanpoet
0
207
Member Avatar for veledrom

Hi, I want a messagebox or alert to appear in my screen after i click on a link. I can do popup windows but i can't do this. How do i this? Thanks

Member Avatar for essential
0
73
Member Avatar for justvince

sorry no well wrote code snippet , but my problem is although an absolute novice with VB6, I have created , well a specialist calculating programme, it is only a glorified calculator but using a lot of trigonometry functions, on the PC I created it on it works 100%. The …

Member Avatar for justvince
0
95
Member Avatar for tiger86

Hi I am trying to use nucleus a GNU blogging program. I used a php debugger to check it for any errors and it ran across a bunch but I don't understand them because they don't look like errors to me. I am just a beginner in PHP so I …

Member Avatar for tiger86
0
89
Member Avatar for rocosd

Hello , I am trying to create threads using makecontext function. The code is sth like this.. [CODE=C] #include "mythread.h" #include <malloc.h> #include <stdio.h> #define FIBER_STACK 1024*64 int mythread_create(mythread_t *new_thread_ID, mythread_attr_t *attr, void * (*start_func)(void *), void *arg) { // Get the current execution context mythread_t t2; t2 = (mythread_t)new_thread_ID; …

Member Avatar for ArkM
0
149
Member Avatar for freelancelote

Hi, I'm learning c++ at the moment and the problem I have is probably very simple. I wrote some code to calculate prime factors of a given number. If I define variables as unsigned long, the code compiles and the program runs. If I define variables as double then compiler …

Member Avatar for freelancelote
0
146
Member Avatar for PuQimX

What's wrong with this program?? [code=cplusplus] #include <stdio.h> int main void { int a,b,c,d; float avg; printf("Please insert score test 1: "); scanf("%d",&a); printf("Please insert score test 2: "); scanf("%d",&b); printf("Please insert score test 3: "); scanf("%d",&c); avg=(a+b+c)/3; } { if (avg>=90); printf("Your Grade is A"); else if (avg<90); if …

Member Avatar for VernonDozier
0
97
Member Avatar for gispe

hi ppl, im having a problem with this program. The thing is that i need to enter the license, age and level of education of an amount of ppl, but dont know how many. then i have to get the percentaje of runners and sellers, the average age, amount of …

Member Avatar for ArkM
0
120
Member Avatar for onemanclapping

hi, when I try string.size on accentuated words, the result is bigger than it was "supposed" to be, as accentuated characters count as 2 size units instead of one. how can I count them as one? cheers

Member Avatar for onemanclapping
0
182
Member Avatar for csm_tC

I have searched the forums and could not find a direct answer to my question, it's probably too simple and i'm over looking something. It's my first day with Python, I'm in the process of developing a program that converts a given float integer into a variety of different things. …

Member Avatar for Shadow14l
0
263
Member Avatar for Clockowl

Hey guys, How would one create a vector of pointers to functions? I know from C to create an array of functions, but I'd like to learn how to do it with vectors as well. Here are my efforts so far: [code=cpp]#include <iostream> #include <valarray> #include <vector> #include <ctime> #include …

Member Avatar for Clockowl
0
148
Member Avatar for yana2

Hi, I study C++ myself and can't solve a little problem. I created class konto (account) and it works fine. Now I want to create a class bank which contains several accounts and it should be possible to add a new account and to find a necessary account by number. …

Member Avatar for Duoas
0
105
Member Avatar for Soundgarden

Howdy all, Great to see the community up an running still. I'm just Hoping you guys/gals could help me again with something. Thanks in advance.. Ok Sit rep. Need to be able to scan through all files in Given folder and list them with out tree in plain list box... …

Member Avatar for vckicks
0
105
Member Avatar for Gaurav arora

Hi there I want to import Printing in my Application. But I m Unable to send the values to be printed in the Printing Class. i Initialize the Printing Class Variables from other class by Creating an object of the printing class. But when i tried to get values of …

Member Avatar for vckicks
0
81
Member Avatar for plike922

I having trouble... for some reason strcpy(b,a) is not working... it says b is not identified [CODE]#include <stdio.h> #include "simpio.h" #include "genlib.h" int main() { string a, b, c; printf("Please enter a word: "); a = GetLine(); b = strcpy(b,a); b = strrev(b); if(strcmp(a,b)==0) { printf("\n%s is a palindrome\n",a); } …

Member Avatar for Aia
0
85
Member Avatar for aparnesh

The client needs to select a vendor from a drop down list (Select). The list is quite long, so it takes some time to load and scroll. It would be better if there was a way for the client to type in the first few letters of the name and …

Member Avatar for aparnesh
0
120
Member Avatar for clickranju

Hi i am a web developer i used to create site using php..i have little knowledge on java(only basic school level knowledge)..but now i want to develop software for one of the NGO which is working for helping blind students..that i have decided to build the software in JAVA...the system …

Member Avatar for clickranju
0
146
Member Avatar for less123

Hi guys , i m doing a programme that can read a text files that contains number, student's ID,1st exam and final exam marks and it can calculate the total of 1st and final exam in order to grade the students. the programme then prints out the calculated total marks …

Member Avatar for Aia
0
135
Member Avatar for scratchnloved

hi again :) i was wondering how i would make a file automatically open with a program, eg: like after you install dev c++, .cpp files automatically open in the editor. how does the editor get the file's location? and how does it process it?

Member Avatar for scratchnloved
0
97
Member Avatar for EkoX

Hi all... i new to this language. so i m sorry if my question is very basically. I have two forms in my project. in first form i have a button. i want when i click this button form2 can be opened. Please help... Thank you

Member Avatar for nileshsarode
0
175
Member Avatar for Stefano Mtangoo

Hi All, I need to center Suckerfish dropdown menu in my drupal site. How can I do that? I use roople theme Lite Jazz and Drupal 6. Thanks alot Steve:)

Member Avatar for marigold2
0
266
Member Avatar for joemalaya

hello guys i am using google ajax feed api to display feed for my site and i am having problem to display the description as a tooltips. [code] google.load("feeds", "1") function rssdisplayer(divid, url, feedlimit, showoptions){ this.showoptions=showoptions || "" var feedpointer=new google.feeds.Feed(url) feedpointer.setNumEntries(feedlimit) document.write('<div id="'+divid+'"></div>') this.feedcontainer=document.getElementById(divid) var displayer=this feedpointer.load(function(r){displayer.formatoutput(r)}) } rssdisplayer.prototype.formatdate=function(datestr){ …

Member Avatar for ~s.o.s~
0
106
Member Avatar for TompIfe

Hei, I have an Access database with a querry containing 40,000 rows. When I use "SELECT (*) COUNT FROM Querr" in ExecuteScalar, I get only about half of the rows. However, whem I copy the contents of the querry to a Table, a get the full 40,000 number of rows. …

Member Avatar for LizR
0
108

The End.