199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pmark019

[CODE] #include <iostream> #include <sstream> using namespace std; int main() { int a, b; string s = "34:22"; istringstream ins; ins.str(s); ins >> a >> b; cout <<a <<b; } [/CODE] This is my code and I want to ignore the ":" in string s. The outpout should be 3422. …

Member Avatar for pmark019
0
1K
Member Avatar for e-papa

We all know that the sum() function in python only takes two arguements, so i created a function in python that will take any number of arguements and add them together, just like the sigma letter in greek. Awaiting your replies on this one.

Member Avatar for e-papa
0
513
Member Avatar for virtue

Hi all, I wrote a program that has many functionalities but I can not swap 2 elements of 2 nodes in the linked list.Actually I can swap 2 nodes by changing their links but I can not swap 2 elements when the user requested 2 elements swapping.Here is my code …

Member Avatar for Ancient Dragon
0
182
Member Avatar for Bazal

I am currently nearing the end of the final unit in my A - Level computing course in which we are developing a system for a company. My choice of system is a KML generator which creates placemarks with details on rescues. I have developed a working KML and GUI …

Member Avatar for Bazal
0
273
Member Avatar for Ramesh.KR
Member Avatar for Momerath
0
92
Member Avatar for Erra93

AStar code: [code] path.Clear( ); // Rensa listan, när GeneratePath-metoden kallas så betyder det att vi letar efter en ny väg pathNode = -1; while ( true ) { // // Console.SetCursorPosition( 0, 0 ); // Console.Write( new string( ' ', 50 ) ); // Console.SetCursorPosition( 0, 0 ); // …

Member Avatar for Momerath
0
149
Member Avatar for ss90

hi, i have 2 different user ~which are admin and instructor ,the admin successfully log in to admin.page and it will showing their name ,the instructor login in to instructor.page will showing their namr also.hope can help thx!! [CODE]<form id="form1" name="form1" method="post" action=""> <table width="280" height="66" border="2" cellpadding="2" cellspacing="2"> <tr> …

Member Avatar for jnicholls92
0
127
Member Avatar for yozzie

Alright - this is my conundrum. As a noob to C++ I am only in chapter 9 of my book, having just covered object oriented programs and the exciting world of vectors and arrays. I have an assignment that asks me to run a loop to get and calculate a …

Member Avatar for yozzie
0
2K
Member Avatar for satti

iam facing a problem ,i want to add a form to my project from another project,when i add the form and try to run it give me error,i dont know what is the problem i have added its module and database also but still giving me [COLOR="Red"](ERROR:Run time error 3709 …

Member Avatar for reygcalantaol
0
170
Member Avatar for sumprit

Hi, i need to find the max value of ArrayList<ArrayList>. I don't know whether it is possible or not? Can anyone please give me some suggestion. Any help from you will highly be appreciated.... Thanks.

Member Avatar for sumprit
0
191
Member Avatar for gaurav balyan

what is the role of session and why do we need session in asp.net please ellaborate

Member Avatar for Ramesh.KR
0
78
Member Avatar for shameemmMbstu

[B]i have developed a c# project now i have to make it an Exe so that i can install it on any system and run it... the bin which contains the exe only runs in the system which has .net installed and does not executes where there is no .net.... …

Member Avatar for Momerath
0
2K
Member Avatar for TechySafi

[CODE]$data = "email@yahoo.com,go@gmail.com,example@example.com"; list($email1, $email2, $email3) = explode(",", $data); echo $email1; // email@yahoo.com echo $email2; // go@gmail.com [/CODE] Pretty perfect but my problem is I don't know how many email addresses will be inserted by a user. He can input just 1/2 or even 30/40. So the style of below …

Member Avatar for TechySafi
0
118
Member Avatar for Muro29

Hi there basically i am working on my year 12 project. my client is a company who takes orders from its customers, on a amstrad emailer phone. i need to develop a python program that automatically copies and paste's the caller number from the amstrad emailer to my main program …

Member Avatar for e-papa
0
83
Member Avatar for aqhalover

Hello! I'm fairly new to HTML and CSS, but I have the concepts down and I can do many things. I also know some very basic XHTML. I am looking to learn Javascript, mainly so I can do an effect like the advertisement that drops down on [URL="http://www.knabstruppers4usa.com/index.php"]this[/URL] website. I …

Member Avatar for e-papa
0
247
Member Avatar for JJmaster08

Using borlandc [CODE]#include <stdio.h> #include <conio.h> #include <dos.h> #include <stdlib.h> #include <iostream.h> void main() { clrscr(); char x1,x2,name,add,email,occupation; int age,cellno; printf("\tWelcome"); printf("\n\tto"); printf("\n\tVideo City"); printf("\nMembership Registration"); printf("\n\t\tA.New"); printf("\n\t\tB.Old"); printf("\nChoose:"); cin>>x1; clrscr(); { if((x1=='a')||(x1=='A')) { printf("\nRegistration Form"); printf("\nName:"); scanf("%s",&name); printf("\nAdd:"); scanf("%s",&add); printf("\nemail:"); scanf("%s",&email); printf("\nAge:"); scanf("%d",&age); printf("\nOccupation:"); scanf("%s",&occupation); printf("\nCell No:"); scanf("%d",&cellno); clrscr(); …

Member Avatar for jonsca
0
128
Member Avatar for Morten Brendefu

I am designing a lot of TCheckBox at runtime, and uses mathematical formulas for placing these in columns and rows afterwards on a form. I assign an on click event that is exactly the same on all of them, and everything work, except... Color. My OnClick event is made like …

Member Avatar for Wolfgan
0
3K
Member Avatar for MUFC4life

Hello, i have to write a piece of code that allows me to open a txt file which then tells me the amount of each letter there is in the document. However i have this code which opens the document but instead of telling me how manu letters it lists …

Member Avatar for MUFC4life
0
125
Member Avatar for kiswah03

when i click on my jar folder,nothing happens, i also tried opening by using command prompt .no use plsss help me

Member Avatar for kiswah03
0
111
Member Avatar for jitsux

I need help. I have a project that I have to hand in within 3 days. My mind goes blank everytime I read the requirements, This is the question: You are required to create 15 random strings. The user should then be asked whether he wants these strings sorted in …

Member Avatar for abhishek20
0
168
Member Avatar for Shaabangbang

Hello, I am trying to make a constant iterator data structure, I have a normal Iterator data structure done, but I'm a little stumped with the const iterators.. can you please point me in the right direction? This is my data structure for the iterators: [CODE] template <typename T> class …

Member Avatar for thekashyap
0
131
Member Avatar for mohansinhf

I am having records in a field (field_id) of a table (in mysql database), which is having ID stored per line, for example [B] 1 2 3 10 11 13[/B] above is one record, and I have many records similar to that. and, when I am writing the query [B]SELECT …

Member Avatar for mohansinhf
0
82
Member Avatar for bhattpratik

Hello! I want to know exactly What Is [COLOR="Green"]Difference[/COLOR] Between The [COLOR="Red"]FileFilter[/COLOR] and [COLOR="Red"]FileNameFilter[/COLOR] in java.io.*; Do they both work the same ? Please answer ....... [B]-> {Pratik Bhatt}[/B]:)

Member Avatar for bhattpratik
0
2K
Member Avatar for ZER09

Hello to all, I got problem in my vb.net program in publishing it. I am using Microsoft Visual Studio 2008, when I publish my program and I got the setup file and when i tried to run into another computer I got some error saying that it cant connect into …

Member Avatar for bincly
0
170
Member Avatar for RJ_Dev

Hello Everyone, Specifications:- Yahoo Small Business Domain. MySQL Version:- 4.1.14 phpMyAdmin Version:- 2.11.9.6 The problem I'm facing is that I've a created a database in phpmyadmin and there are two users:- one is the username I created for myself and the other is yroot. I can't grant the username I …

Member Avatar for aawisdom
0
501
Member Avatar for karan_kanna

Write a program in c++ that read two files A.txt and B.txt, and find all words which are in file A.txt but not in file B.txt. Input: A file containing large text. The file may contain any number of words.

Member Avatar for csurfer
0
108
Member Avatar for mohansinhf

I am having records in a field (field_id) of a table (in mysql database), which is having ID stored per line, for example [B] 1 2 3 10 11 13[/B] above is one record, and I have many records similar to that. and, when I am writing the query [B]SELECT …

Member Avatar for mohansinhf
0
96
Member Avatar for Cassandra Low

Hi, I'm currently trying to store all the text in text area into a txt file in directories using java. I know how 2 use mkdirs() to create directories, for example C:/d1/d2, but if i type [CODE](new File(C:/d1/d2/sample.txt)).mkdirs()[/CODE] it makes the txt file into a folder too. I tried with …

Member Avatar for mKorbel
0
153
Member Avatar for ZER09

hello to all, i got some problem in vb 6 in reports. actually i tried to create a simple ordering system, and i used ms acces for my database, now the problem is that when i generate a report it will show the first data of the row of the …

Member Avatar for ZER09
0
118
Member Avatar for tomtetlaw

I have 2 projects. I'm using VC++ 2010 express. The first is a static library which generates a lib file called stdlib.lib. The second is a dll project which links to stdlib.lib. When I try to compile, I get linker errors that say unresolved reference and they refer to functions …

Member Avatar for mitrmkar
0
171
Member Avatar for tometherton

OK I'll try to explain what I'm trying to do... I've got 16 numbers in an array and I want to find out the best way of adding any combination of these (it can be 2 of them, 5 of them or all of them) to get as close to …

Member Avatar for tometherton
0
109
Member Avatar for gaboo

I have an xml output file that I want to check that a directory exists: [CODE] <row_element column="6" property_name="TEST">file_name = sample.txt ~ parent_file = main.txt ~ root_directory = c:\main\sample</row_element> <row_element column="6" property_name="TEST">file_name = sample2.txt ~ parent_file = main.txt ~ root_directory = c:\main\sample2</row_element> [/CODE] I tried the code below, but noticed …

Member Avatar for xml_looser
0
162
Member Avatar for Cap'nKirk

I recently had a PC crash and had to do a fresh install of Win XP. Luckily I had backups of a vast majority of my data including my VS projects. I have just reinstalled VS2010 Ultimate and then decided to open my latest project only to be told that …

Member Avatar for Cap'nKirk
0
126
Member Avatar for bigwhiteegg

first time using libcurl I'm trying to use it for a function that downloads a page's source code like this getHTML(string URL); but I do not understand the set up [URL="http://curl.haxx.se/libcurl/c/libcurl-tutorial.html"]libcurl[/URL] [QUOTE]There are many different ways to build C programs. This chapter will assume a UNIX-style build process. If you …

Member Avatar for vijayan121
0
248
Member Avatar for flynismo

Hi all, basically, what I am having trouble with is this: I have a value stored in a table for each member, let's call it $my_value. Each member has a $my_value, which is an integer. What I want to do is as follows... Lets assume I log in as user …

Member Avatar for flynismo
0
188
Member Avatar for jigneshdesai

Hello freinds, Recently i was interviewes in accenture and i was asked what the difference between tostring and convertostring. I think tostring checks for spaces and convertostring does not

Member Avatar for Ramesh.KR
0
256
Member Avatar for nevergone

Hello, I have a website which sells like 5 digital products,and the transactions are made only via PayPal.After the user purchases a product he can login to download. Also affiliates can be created.That's all that it does. I was wondering if a SSL/TSL certificate would be usefull and which type …

Member Avatar for Ramesh.KR
0
85
Member Avatar for rampapz

Hi, I need help on the complete coding of Java mug. This is an given to me by the university, I have just started my course on java. So, could please someone help me & provide me the complete coding on java mug. This would help me to score good …

Member Avatar for javaAddict
0
228
Member Avatar for Farhad.idrees

i have to show data in datagrid using store procedure...but remember...i m using store procure in seprate class so i m facing difficulties.. how to do it.. thats my class coding... but how to pass it in main form? public Searching() { Myconnection = new SqlConnection("Data Source=.;Initial Catalog=Bahria_Managment;Integrated Security=True"); } …

Member Avatar for arsheena.alam
0
159
Member Avatar for Tempest will

Hi all, im trying to make a new webpage open if a persons password is equall to COOP, i have used the code [CODE]header('Location: loginfull.php')[/CODE] to do this but i need to call through the EmployeeID and Password when this link is opened, any one have any idea how ? …

Member Avatar for Akash Saikia
0
237
Member Avatar for alliance

In a certain sports league, a group of teams plays through a Schedule of Game. At the end of this Schedule, they want to determine the winner. To determine the winner, you will have to determine for each team how many Games they won, lost, and tied. Assuming 2 points …

Member Avatar for audiomatic
0
308
Member Avatar for lee94

I am trying to make a form and send all the entered fields directly into an email to a specific email account. if any one knows how to do this or can point me to a site that can help me i would be extreamly grateful thanks!!

Member Avatar for anilashanbhag
0
101
Member Avatar for lochnessmonster

what is the difference in the 2? [CODE]class Log { private: // no members attributes public: void createLog( ); }; int main() { Log log1; log1.createLog(); }[/CODE] [CODE]class Log { private: // no members public: static void createLog( ); }; int main() { Log::createLog(); }[/CODE]

Member Avatar for thekashyap
0
109
Member Avatar for hawita

Hi could someone please helping in starting this program? I am not asking anyone to do my work for me i just want to know how i can start the program and steps to follow please( i am new to c++) thanks write a program that reads an n*n matrix …

Member Avatar for dkalita
0
132
Member Avatar for M3SSIAH

Hi, im trying to make my .dll program written in VC++ search for an aob(array of bytes) in its own process. It's supposed to retrieve the aob from a textbox, search for it and return an address. For example i type the following aob in the textbox = B8 ?? …

Member Avatar for M3SSIAH
0
306
Member Avatar for Atistus

I am having a little bit of trouble with loops. [CODE] mainTest = "Menu:\n(R)enter Numbers\n(O)dd or Even\n(S)um and Average\n(Q)uit\nWhat would you like to do?: " getInteger1 = input("Your first number?: ") getInteger2 = input("Your second number?: ") print mainTest while userInput != '': if userInput == 'r' or 'R': #This …

Member Avatar for TrustyTony
0
140
Member Avatar for lielee

Hi. My problem is, the data that I pull from the database, when try to multiply it, it didn't multiply. The database has Fruit and FruitPrice column. When select fruit form the combo box, it will search the price. But I can't seem to multiply it. The price is display …

Member Avatar for lielee
0
160
Member Avatar for ebanbury

OK I'm pretty sure this is an easy one. I've successfully made my list and checkbox fields sticky using selected=selected and checkbox=checkbox etc etc. I now have a very simple text field. What is going wrong is that the entire string within the value="" shows up as the initial value …

Member Avatar for Akash Saikia
0
387
Member Avatar for EMT

Hi, In my python application I am importing my module from a xyz[B].[/B]dll. When I try to import my module from the xyz[B].[/B]dll the python shows error no xyz module found. But after [B]renaming the xyz.dll to xyz.pyd[/B] the same python code ([COLOR="Red"]without any change[/COLOR]) imports my module easily. The …

Member Avatar for TrustyTony
0
602
Member Avatar for bhavyajyothinat

can someone send the code for connecting with MySql in asp.net. and code for inserting some entry to a table. I have no idea about MySql. Am having an interview on 16th March.They asked me to do with MySql. Please someone help me..

Member Avatar for bhavyajyothinat
0
294

The End.