132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wollacott

N 10*N 100*N 1000* N 1 10 100 1000 2 20 200 2000 3 30 300 3000 4 40 400 4000 5 50 500 5000 6 60 600 6000 7 70 700 7000 8 80 800 8000 9 90 900 9000 10 100 1000 10000 Hi, [code=c] #include<stdio.h> int main() …

Software Development c
Member Avatar for Ancient Dragon
0
631
Member Avatar for dewdropz

Hi I am looking for some information regarding VT102 escape codes. Are there any tutorials on this anyone can recommend? Basically, what I need to do is overwrite these print statements within the for loop to my screen: for (int i=0;i<5;i++) { printf("Enter the current price of the product: "); …

Software Development c
Member Avatar for rubberman
0
228
Member Avatar for TheTimeCat

A Very Good Morning to you, Hi and how do you do ? I hope your day is going great. I would like help writing a CPP Function() with the following criteria :- It is to search for 4 digit numbers in a Pick 4 Game. 1. Given a 2D …

Software Development c++
Member Avatar for ravenous
0
279
Member Avatar for TheTimeCat

This is a program to generate possible combinations Somehow everytime I run it - in VS2012 I get this error - "Expression:Vector Subscript out of range" ? Can someone please help to get this code working ? A Big Thank You !!! :D #include <iostream> #include <vector> class CombinationsGenerator { …

Software Development c++
Member Avatar for ravenous
0
950
Member Avatar for nostalgia

Hello, I'm trying to code a genetic algorithm in java but my code doesn't seem to be working as it should. I think the problem lies within my roulette wheel selection method. Can anyone spot it/point me in the right direction on how to solve it? private static Individual[] rouletteWheelSelection2(Individual[] …

Software Development algorithm java
Member Avatar for M4trixSh4d0w
0
3K
Member Avatar for triumphost

http://i.imgur.com/kWrBizl.png In the above Image, I generator a Sudoku Matrix of 9x9 values. Is there any way I can allow user to enter individual values by moving around the caret and typing? Basically, I want them to just be able to change the values displayed on the screen by moving …

Software Development c++
Member Avatar for tinstaafl
0
173
Member Avatar for Sci3nc3F1cti0n

I'm writing a program that will keep track of every Anime/Manga I watch/read(I'm an avid fan). I'm trying to make a database in order to keep track of all of the titles of the Anime/Manga. My problem is that when i try to add a new title to the existing …

Software Development c++
Member Avatar for Sci3nc3F1cti0n
0
226
Member Avatar for toth.attila.7921

Hi! I want to make a CONVERTER. I designed it, so I just have to program some buttons. The problem that I have is weird. I programmed a button that says : CONVERT TO METER. After I build the program, I get ERROR C1075 : end of file found before …

Software Development c++ microsoft visual-studio
Member Avatar for tinstaafl
0
849
Member Avatar for meetjatin88

Hello Everyone i am trying to write a program for printing all the combinations of a string.I do not want any help regarding the algorithm but i need help figuring out why this program is giving the error message "First-chance exception at 0x761bc41f in word.exe: Microsoft C++ exception: std::out_of_range at …

Software Development algorithm c++
Member Avatar for meetjatin88
0
244
Member Avatar for ryan.maure

I am having a runtime error happen when I run my program and can't seem to figure out why. It is happenning on my insertion sort function. I also am going to have to do a selection sort with this and aany help would be greatly appreciated. Here is my …

Software Development c++ linked-list
Member Avatar for ryan.maure
0
295
Member Avatar for Helianthus

Ok, so I am working on the hangman game for a school assignment. I have everything doing what I want except for one issue: No matter how many letters are in my word, the number of dashes is always one more than I need. For example: say the word is …

Software Development apple programming-construct vb.net
Member Avatar for Helianthus
0
868
Member Avatar for wids101

Please enter your starting balance: 200 What would you like to do? B...Show Balance D...Deposit W...Withdrawal Q...Quit B Your balance is 200.000000 Press any key to continue . . . i put my set precision to 2 and it's printing 6 zeros. how come?

Software Development c++
Member Avatar for vmanes
0
99
Member Avatar for gkaran487

I have a string as [Ian Wood P. M. Visscher] [Ian Wood L. Mengersen] [Ian Wood] [P. M. Visscher Ian Wood].I want to write this string into two dimensional array. (i.e) String a[0][0]=Ian Wood ,a[0][1]=P. M. Visscher,a[1][0]=Ian Wood, a[1][1]=L. Mengersen and so on.Every time when I would give input, the …

Software Development java
Member Avatar for JamesCherrill
0
271
Member Avatar for dhayalanbalakrishnan

Guys I am trying To send a mail using C++ code i found from the net , when i compiled it it says In function `_Z13ChilkatSamplev': [Linker error] C:/Users/dhayalan/Documents/mail.cpp:10: undefined reference to `CkMailMan::CkMailMan()' [Linker error] C:/Users/dhayalan/Documents/mail.cpp:14: undefined reference to `CkMailMan::UnlockComponent(char const*)' [Linker error] C:/Users/dhayalan/Documents/mail.cpp:21: undefined reference to `CkMailMan::put_SmtpHost(char const*)' [Linker …

Software Development c++ email session
Member Avatar for Moschops
0
337
Member Avatar for ray.chappel

I am working on a project that is suppost to work with 3 xml files. The program is suppost to ask which file you would like to import. It then makes a new folder in the current directory. The program is supposed to create a new file in the created …

Software Development java xml
Member Avatar for ray.chappel
0
373
Member Avatar for castajiz_2

I m having a problem when sending my c# projects to a friend via e-mail. Before sending i use WINRAR to compress it however when the other side gets the mail and when it tries to open it, it get s an error ouptut saying: "application not found". When going …

Software Development c#
Member Avatar for TnTinMN
0
4K
Member Avatar for rajeshmishrabca

I'm a sybca student. and till nw i kw c,c++,RDBMS,D2K,data structure. can i able to develop a software using this skills? if yes then plz tell me the steps for that. thank u!

Software Development data-structure
Member Avatar for rubberman
0
150
Member Avatar for Fernando_1

# VARIABLE DEFINITIONS name="" adress="" city="" state="" zipcode="" course1="" course2="" course3="" course4="" course5="" #----------------------------------------------------------------------- # CONSTANT DEFINITIONS courses= "Enter courses name (Type 'STOP' when finished) :" pointsR = "\tEnter points received ( Type '9999' when finished) :" pointsP = "\tEnter points possible for this assignment :" #----------------------------------------------------------------------- # FUNCTION DEFINITIONS …

Software Development python
Member Avatar for woooee
0
179
Member Avatar for Ayesha.Shahnawaz

Ok, so my form displays an error saying "run time error. could not find installable ISAM." everytime i run it. And its pointing at "conn.Open" part of the code when i run it. heres my code: Dim conn As ADODB.Connection Dim rec As ADODB.Recordset Dim rec1 As ADODB.Recordset Dim rec2 …

Member Avatar for AndreRet
0
2K
Member Avatar for homeboy

Hello, I created a dynamic object but I do not know how to use it when the instanciation of the object is finished. I would like to call some methodes from Class Base by an objet that I created dynamically. Can you explain me, pls? Thank you This is my …

Software Development assembly
Member Avatar for homeboy
0
237
Member Avatar for on93

can anyone show me how to convert this linkList statement into Array ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class linklist { private: struct node{ struct student{ // node->info string name; int id; string prog; double cgpa; }st; node *link; }*head; public: void insFirstNode (string name, int id, string prog, double cgpa); }; void linklist::insFirstNode(string …

Software Development c++
Member Avatar for on93
0
114
Member Avatar for Jake.20

Greetings everyone i really need some help about this error. If (maleRbtn.Checked = True) Then gender = 0 ElseIf (femaleRbtn.Checked = True) Then gender = 1 End If If (dietRbtn.Checked = True) Then purpose = 0 ElseIf (BDrbtn.Checked = True) Then purpose = 1 End If Try sqlCmd = New …

Software Development vb.net
Member Avatar for Reverend Jim
0
322
Member Avatar for onakoya.adedamola

i need help on how to program atm with console application

Software Development vb.net
Member Avatar for <M/>
0
133
Member Avatar for Learningvinit

I ran same code linux and HP platform And the result stored was different. I found that the boundar for comparison is 255. It can be more undersstood from the below code. #include <stdio.h> int main() { FILE *fp=fopen("linux2.txt","wb"); int a = 100; int c=0; int i=0; for (i=0; i …

Software Development c
Member Avatar for Learningvinit
0
177
Member Avatar for Learningvinit

Hi All, While running a piece of code on Linux and HP i found the differenc in the result. Can Anyone Explain Why it is giving different results? #include <stdio.h> int main() { int a = 0; int b = 30030; int c = 34094; int d = 0 ; …

Software Development c
Member Avatar for Learningvinit
0
600
Member Avatar for MRehanQadri

#include <iostream> using namespace std; struct td{ int ** subj_no; }; int main(){ td p; **p.subj_no = new int * [7]; } If not then how should I accomplish this task? What's the corrected version?

Software Development c++
Member Avatar for vmanes
0
176
Member Avatar for alanso

hey guys i need help!! i am having problem with add cart...when i puchase and item it comes out this error "Response.Redirect("~/Payment.aspx?total=" + total_price)" bellow are my code. Imports System Imports System.Collections.Generic Imports System.Linq Imports System.Web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Data.SqlClient Imports System.Data Partial Public Class Cart Inherits System.Web.UI.Page …

Software Development open-source session vb.net
Member Avatar for alanso
0
141
Member Avatar for amweasel

I have been trying to make a simple "quiz" program on Python. And this is what I coded: print("Mathematics Quiz") question1 = "Who is president of USA?" options1 = "a. Bharat Chauhan\nb. His dad\nc. His mom\nd. Barack Obama\n" print(question1) print(options1) while True: response = input("Hit 'a', 'b', 'c' or 'd' …

Software Development mathematics python
Member Avatar for amweasel
0
469
Member Avatar for Dili1234

when I try to insert values I got this error: I Used this code myConnection = New SqlConnection(connectionstring) myConnection.Open() Try Dim insert1 As SqlCommand = New SqlCommand("INSERT INTO [VBP].[dbo].[Return_Total] ([RGN0],[Date] ,[Totalamount],[User_Id],[C_NIC],[Comments],[Bill_No]) values ('" & Val(TextBox2.Text) & "','" & DateTimePicker1.Value.Date & "','" & TextBox4.Text & "','" & TextBox6.Text & "','" & …

Software Development vb.net
Member Avatar for tinstaafl
0
126
Member Avatar for dana2292

Hello every one i want know i can read one text file in c# i f we can do it please explean for me how can i do it thanks alot

Software Development c#
Member Avatar for castajiz_2
0
403
Member Avatar for new_zal

Hi all Just looking a creating a possible java or jsp based messenger for a web site. I have tested java based lan messengers, p2p messengers and even openfire+spark+smack instant messaging, XMPP (also called Jabber) which I admit I liked a great deal. They say dont try re-invent the wheel …

Software Development client-server java java-jsp
Member Avatar for M4trixSh4d0w
0
424
Member Avatar for TrustyTony

Here is my celebration post for entering level 3 in Project Euler. Again I left in my debug prints. I am in process of adapting myself to new .format style of formatting. I have commented out the prints though to get visible the running time of the functions own action. …

Software Development python
Member Avatar for TrustyTony
0
706
Member Avatar for dp121307

I have to make a login program where the username and password are taken from an existing file. I have successfully, in my opinion, opened, read, and brought out all the user names and passwords from the file. The problem is, the user is only allowed to input an incorrect …

Software Development python
Member Avatar for woooee
0
2K
Member Avatar for engrjd91

Scanner input = new Scanner(System.in); System.out.println("Enter a value : "); String s3 = input.next(); System.out.println("Enter another value: " ); String s5 = input.next(); String s = ("1= add, 2 = subtract"); int op = Integer.parseInt(s); double result=0; switch (op) { case 1: result = addValues(s3, s5); break; case 2: result …

Software Development java
Member Avatar for engrjd91
0
138
Member Avatar for x38class

I have found the following post re this issue does any body have any idea which is correct 1. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Comdlg32] "NoFileMru"=dword:00000001 2.HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Value Name: NoRecentDocsMenu Value Type: REG_DWORD Value Data: 0 or 1 0 = Yes, allow recent docs 1 = No, do not allow recent docs Value Name: ClearRecentDocsOnExit …

0
247
Member Avatar for castajiz_2

This is just an example i have to do a simillar thing on a much larger code , but my question is why doesn t this work? I solved my problem with a string method and return statements but why can t i use a void method with the result …

Software Development
Member Avatar for tinstaafl
0
310
Member Avatar for engrjd91

Can we use integer as a key for the string in the HASHMAP?

Software Development java
Member Avatar for engrjd91
0
143
Member Avatar for aabbccbryanmark

hi folks, im having a problem here on my code can't figure what's wrong.. so here's my code: import java.awt.*; import java.awt.Font.*; import java.awt.Color.*; import java.awt.Button.*; import java.awt.event.*; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import javax.swing.*; import javax.swing.JOptionPane; public class Calc extends JFrame implements ActionListener { JTextArea txtArea; static final …

Software Development java java-swing
Member Avatar for stultuske
0
556
Member Avatar for hitro456

Hi All, I have a binary search tree (consider following structure). struct bst { void *value; struct bst *left, *right; }; I want to save this unbalanced binary search tree in a file. And when I read this file, I don't want to recreate the tree from these nodes. So …

Software Development c data-structure seo
Member Avatar for rubberman
0
612
Member Avatar for fyra

Hi guys and gals. How can I find write or open for example? I tried man write and man open but those were not the pages I was looking for.

Software Development c
Member Avatar for rubberman
0
122
Member Avatar for josverhoeff

My vb6 to vb.net converted application performs about twice as slow as the classic ASP version. Here is the setup: I have an old ASP application that uses for most of its function calls a vb6 dll of 30000 + lines of code. I managed to convert the dll into …

Software Development asp asp.net vb.net visual-basic
Member Avatar for TnTinMN
0
533
Member Avatar for oail

Hi, can anyone help me by showing me a sample of MS Access linked to Visual Basic that have edit, delete and add function?

Software Development vb.net visual-basic
Member Avatar for Ancient Dragon
0
212
Member Avatar for bajanpoet

I was working on a project in my VB.NET Express and suddenly my code that was working fine and starting up as normal gave me this error: {"An error occurred creating the form. See Exception.InnerException for details. The error is: Format of the initialization string does not conform to specification …

Software Development vb.net
Member Avatar for Reverend Jim
0
705
Member Avatar for danielgr

I need to consume a web service in VS 2010 using VB.NET that gives a result of a class type. I've already added the reference and called it with: Dim mag As New Magento.ecommerce I can create a variable as the class: Dim Stockcodes As New List(Of Magento.clsStockcode) I just …

Software Development api dataset ecommerce vb.net
Member Avatar for danielgr
0
301
Member Avatar for kimangel

Hi experts, my time value display is the word "true" on Label2.caption and not a real time. On Label1.caption the is the exact date. Only the time got wrong. below is my code: Private Sub Timer2_Timer() Label1.Caption = Date Label2.Caption = time End sub I have a timer1 the dispaly …

Software Development display visual-basic
Member Avatar for AndreRet
0
106
Member Avatar for nitin1

can anyone please explain me in brief that how exactly this container work ? or can u giveme some link of this. i have tried to look on some links by google, but i am not much clear about my doubt. please help me if u can. thanks.

Software Development c++
Member Avatar for mike_2000_17
0
423
Member Avatar for sarman.boyslo

newbie wanna ask... please help let say i have a form, in this form i make a menu, if i click it, it will show a form, mini form (sub form), in this form i put a textboxt and a button, the textboxt contain some value and changeable, if i …

Software Development visual-basic
Member Avatar for rishif2
0
212
Member Avatar for Fernando_1

System.out.printf("\nRegular pay:$ %.2f",regularPay) System.out.printf("\nOvertime pay:$ %.2f",overtimePay) System.out.printf("\nTotal Pay:$ %.2f",overtimePay+regularPay); to print like /Regular Pay: $ Overtime Pay: $ ///Total Pay: $ ignore the '/'

Software Development java
Member Avatar for bguild
0
171
Member Avatar for Kobrakai

Hi all Hope you can help! I have an XML file which contains several bits of information for each software entry (snippet seen below). <software> <software_entry name="Adobe Acrobat X Standard" path="Applications\Acrobat\Acrobat X Standard\AcroStan.msi" type="msi" switches="/qn ALLUSERS=1" /> <software_entry name="Adobe Acrobat X Professional" path="Applications\Acrobat\Acrobat X Pro\AcroPro.msi" type="msi" switches="/qn ALLUSERS=1" /> </software> …

Software Development file-system xml
Member Avatar for Kobrakai
0
198
Member Avatar for silvercats

Let's say I have 3 text boxes called item_name,item_price,item_type. And there is a listbox that has the item_name and another list box that has item_price, another one with the item_type. Let;s say we want to click on the item_name. After clicking on the item_name list box's first item. how to …

Software Development c c# c++
Member Avatar for silvercats
0
282

The End.