132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for passionated

#include <stdio.h> int main() { int num, i = 1; printf("\n Enter any Number:"); scanf("%d", &num); printf("Multiplication table of %d: \n", num); while (i <= 10) { printf("\n %d x %d = %d", num, i, num * i); i++; } return 0; } Hi.. Can someone please patiently explain me …

Software Development c c# c++
Member Avatar for JilMakias
0
185
Member Avatar for Vkitor

Hi, I'm trying to put sleep action on my program, but I would like program to sleep after I (as user)click and when he changes the picture on the button. and I don't know where to put it. please help this is example of code :) [CODE]import tkinter as tk …

Software Development python tkinter
Member Avatar for TrustyTony
0
173
Member Avatar for Evenmu

Hey I am a student and i am new on the algorithm subject. I have been given a compulsory assignment that is to set up a program that have Liked list with Nodes. The problem is that i dont understand how to do this: - remove the first node - …

Software Development algorithm java linked-list
Member Avatar for DavidKroukamp
0
99
Member Avatar for SergioQ

Am not looking for a specific deleted file. Let me put it another way, and maybe someone can help me in another way.... Am looking for lost info. Files lopng deleted etc. But since this machine has bearely been used, it's posssible the data is sitting in an a now …

Software Development c
Member Avatar for YourGamerMom
0
102
Member Avatar for wolfrain63

Doing a program that requires 2 web forms, and the program stats "We have elongated the window so you can see that the order information was passed as a set of Request parameters appended to the URL." Can anyone give me an example? I have no idea how to append …

Software Development vb.net
Member Avatar for thines01
0
108
Member Avatar for JilMakias

How can i send a file at my e-mail address? I want to write it in my C program. Is there any simple way to do that? I Use Dev C++ compiler. I am not using C# or VB. Thanks in advance for answering.

Software Development c
Member Avatar for DeanMSands3
0
6K
Member Avatar for vic s

hi, my name is vic...i got one problem cannot fix....output for the number of times each of the tasks has been invoked...i run 3 times each of the tasks but the output always is this program has run 1 times..... #include<stdio.h> #include<stdlib.h> void doTaskA(){ printf("Start of Task A\n\n"); int input_1, …

Software Development c
Member Avatar for DeanMSands3
0
233
Member Avatar for ndrichim

Hello there.i have to find if elements of a row are equal to elements of another row.this is my code but it wont work. when k becomes 1, i want the for loop at i to start with i=2; can you help ????? int b[][]={ {1,2,23,4,5}, {6,1,8,9,28}, {11,12,13,14,15}, {1,17,18,19,20},}; for(int …

Software Development java
Member Avatar for ndrichim
0
154
Member Avatar for riahc3

Hey I would like to do a ".bat' type of command in Java: Something automated. Im trying to run a program that is sort of shell itself so it just need to input certain words/letters into the command line box. Lets see if I can explain it better with a …

Software Development java
Member Avatar for riahc3
0
445
Member Avatar for zekstein

I need a sample code to retrieve the source code of a page . Ex : I have [url]www.blahblahblah.tld/file.ext?id=blah[/url] I want to retrieve in a char the source code of that site. Thanks

Software Development c++
Member Avatar for thines01
0
415
Member Avatar for badboy11

Looking for an equivalent container class that matches to C#'s Arraylist collections class. Is there anything that comes close to a container that can provide index based enumeration as well as hold multiple data types. I am trying to create an vector that can hold multiple data types. For example: …

Software Development c c# c++
Member Avatar for badboy11
0
1K
Member Avatar for drewangel

hi all, i need to know how to create a thread using pthread_create()? i have never used pthread in c. am i supposed to used function pointer? how to pass arguments in thread function? i need to know everything about pthread_create(). and yes i am using turbo c++ compiler and …

Software Development c multithreading
Member Avatar for DeanMSands3
0
732
Member Avatar for n4j

Hello every one! i write an implementation for kruskal's algorithm but i think it doesn't work properly! The final tree has loop! this is my problem. Can you tell me how i can solve this problem? here is the code: [CODE] #include <stdio.h> #include <conio.h> #include <iostream> using namespace std; …

Software Development c++
Member Avatar for n4j
0
315
Member Avatar for n4j

Hello ,i have problem with code bellow. every data i enter it show me the weight '0'! Can you tell me how can i solve this problem? you should enter number of nods and edges and weight of each edge. [CODE] #include <stdio.h> #include <conio.h> #include <iostream> #include <Windows.h> using …

Software Development c++ data-structure
Member Avatar for n4j
0
259
Member Avatar for jpsider

Hi all, I'm working on a school project and I am running into a problem, possibly more... This is my first post, so I am sorry if it ends up ugly. Here is a description of the project: This project focuses on demonstrating your understanding of classes and objects. Before …

Software Development java oop
Member Avatar for Philippe.Lahaie
0
9K
Member Avatar for im abcd

So i wanted to build a program in which scientific sums are solved along with the steps .I tried but i failed . Here is the code ~ [CODE]#include <iostream> #include <cstdlib> #include <windows.h> #include <conio.h> using namespace std; int main(){ int reply; int u ,v ,t; int a = …

Software Development c++
Member Avatar for im abcd
0
266
Member Avatar for rushikesh jadha

i want create jar file of my source code using netbean but i dont know how to do that please help!

Software Development java
Member Avatar for stultuske
0
83
Member Avatar for shann1718

hello im working with vb 2010 and ms access as data base, just newbie.im trying to save the loged out date and time to my access table by selecting from tblloghist wherein my column SystemUserID is equal to my textbox SysID(located at my form) then it will save the timelogedout …

Member Avatar for Phasma
0
161
Member Avatar for JavaPrograms

shell-scripting @ DaniWeb - Hello fellow members, I would like to ask for your assistance in creating a batch/autorun/exe file which can help me to make an autorun usb. So basically, I would like the USB to do the following: When usb is inserted, it should autorun and copy files …

Software Development api java pc-peripheral shell-scripting
Member Avatar for technoknol
0
798
Member Avatar for mayankshri

Hi i am open a excel file and it automatically open first two cell A1,B2 in two text boxes. now i want how to open different cells in different click of button. i am using this code- [CODE] OpenFileDialog openexcel = new OpenFileDialog(); openexcel.Title = "Mayank"; openexcel.InitialDirectory = @"c:\"; openexcel.RestoreDirectory …

Software Development
Member Avatar for thines01
0
181
Member Avatar for Desi991

[B]MASM Assembly[/B] [CODE] TITLE Palindrome Checker (main.asm) 002 003 ; 004 ; 005 ; 006 007 INCLUDE Irvine32.inc 008 START = 128 009 010 .data 011 strPrompt BYTE "Please enter a string of Integers: ",0 012 strMsg BYTE "Original String of Integers: ",0;dh, 0ah 013 revMsg BYTE "Reversed String: ",0 …

Software Development assembly
0
101
Member Avatar for pjh-10

need help for this small Q here, just hoping someone could write out a full c++ programme for the problem, with comments wherever nessecary, thanks! Write a function to evaluate eX , using a series approximation (see below). Compare the output of your function with the library function exp(x). How …

Software Development c++
Member Avatar for pjh-10
0
96
Member Avatar for badboy11

Need help with implementing a pure abstract class via inheritance, using namespace to wrap all my classes to avoid conflict with others. I have been able to build and run the code successfully if I remove namespace wrapper from my abstract class and all classes that inherit from my pure …

Software Development c c++ oop
Member Avatar for badboy11
0
257
Member Avatar for ilovejava

I had to make a arrayList and i do not know why is it not working [CODE]public class ArrayList<E> { private E[] theArray; private int size; private int capacity; public ArrayList(int initialCapacity) { this.size = 10; this.capacity = initialCapacity; theArray = (E[]) new Object[initialCapacity]; } public ArrayList() { this(1024); } …

Software Development java
Member Avatar for ilovejava
0
207
Member Avatar for Jay22

Hi, This my first time asking for help for my C++ programming class but recently my teacher gave us an assignment that got me so confused. I don't understand what to do. My assignment is due Wed, Feb 8, 2012 and my C++ programming book is expected to arrive Friday. …

Software Development algorithm c++
Member Avatar for Jay22
0
98
Member Avatar for lxXTaCoXxl

I have a homework assignment due this week and am fairly new to C++. Don't have a book so I can't really go on anything other than the video material and power point slides my teacher provides. I have 98% of the assignment done, however I'm encountering logic problems. I'm …

Software Development c++
Member Avatar for lxXTaCoXxl
0
107
Member Avatar for Gonzo14

I'm trying to preform a loop, using a combination of a if/else and while loops. I set a boolean "repeat1" to true, to enter the while loop. Then when I went the user to pick to repeat or move on, they enter a Y or N, if Y, keep repeat1=true, …

Software Development c c# c++
Member Avatar for Gonzo14
0
164
Member Avatar for steven8579

I have an array where of integers that has to be sorted and inserted into the correct place in the array for each number, not just at the end. All of this is done in the add method. This is what i have so far. [CODE]package sortedintlist; public class SortedIntList …

Software Development java
Member Avatar for JamesCherrill
0
382
Member Avatar for DelphiGuy

Heya guys, basically here is some code for a simple example program: [CODE] unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls; type TForm1 = class(TForm) img1: TImage; procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; …

Software Development delphi pascal
Member Avatar for DelphiGuy
0
2K
Member Avatar for PixelatedKarma

Hey guys and gals not quite sure if this is where I should put this, I'm running into a really weird problem that I have yet to encounter...atleast until now. I am using Microsoft Visual C++ and playing with a little toy project using windows forms. Anyways I have an …

Software Development c c# c++
Member Avatar for PixelatedKarma
0
1K
Member Avatar for annitaz

I need to write a program in QT4 that converts the value entered by the user to Celsius or to Fahrenheit The temperatue.cpp: I need to write a program that converts celcius to fahrenheit and vice versa the temperature.cpp is: #include "temperature.h" //constructor Temperature::Temperature() { //{initializes and places widgets using …

Software Development c++ qt
Member Avatar for deceptikon
0
269
Member Avatar for androidf

I need to have a update button to update a edited textfield and save it to the database. I have created the button but have no idea on how to make it update the edited textfield and update the SQL database automatically. Pls help!!): This is my code: [CODE]private JButton …

Software Development gui java
Member Avatar for androidf
0
1K
Member Avatar for Akay2

Well i have a little problem here is the code [CODE] using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; namespace RockRaidersRecreation { /// Manager for Drawing Verts public class WallDrawManager : DrawableGameComponent { Texture2D wallTexture; BasicEffect basicEffect; Vector3 …

Software Development audio
0
202
Member Avatar for Arjun_Sarankulu

I was succesful in reading csv file and writing to txt file But am facing problem while writing to database. Can any one help me for the same Thanks for your support

Software Development
Member Avatar for Cameronsmith63
0
673
Member Avatar for jatinkhandelwal

if would like to print the size of data type entered by user. how can i do so (without using case and if) is it possible to store the data type in a string and print the size of data type in that string???

Software Development c
Member Avatar for Ancient Dragon
0
124
Member Avatar for modesto916

Hi everybody, I am learning C at the University, and I want to study by myself to avoid difficulties there, I am doing some exercises from a pdf that I got, and it asks me to write a program to invert a string using only what was explained in the …

Software Development c pdf
Member Avatar for modesto916
0
166
Member Avatar for vindom

Hi every1! Thats my code that used to work before I've added some attributes to my items. [CODE]void manager::EditStockItem() { ListStock(); { string z; bool found; cout<< endl<<"<===================================================>"<<endl<<endl; cout << "Enter ID of the Stock Item you want to edit" << endl<<endl; cin>>z; found = false; vector <Item*>::iterator iter = …

Software Development c c# c++ oop
Member Avatar for vindom
0
250
Member Avatar for Queen Lala

import java.awt.*; import javax.swing.*; /*<applet code="SampleApplet1",200,300> */ public class SampleApplet1 extends JApplet { int num; public void init() { num=20; } public void paint(Graphics g) { g.drawString("Hello to Applets.Session"+num,70,80); g.showStatus(getAppletInfo); } public int getAppletInfo()//Overrides super class method { return("Created by PTSS"); } public static void main(String arg[]) { SampleApplet1 obj= …

Software Development java java-swing session
Member Avatar for rushikesh jadha
0
166
Member Avatar for Quinncunx

For a school project I need to make a timer with a bell sound that sounds every 60 seconds in VB, I cannot work out how to make the bell sound on the 60th second, I am not getting any errors in the VB console, so I assume that I …

Software Development audio vb.net
Member Avatar for M.Waqas Aslam
0
156
Member Avatar for mehnihma

Can you help me with one problem, I dont know how to invoke action op menu not the menu item? I have File and Help menus and I need to invoke action when the Help menu is pressed but dont understand how, I know how to do in on MenuItem …

Software Development java
Member Avatar for DavidKroukamp
0
1K
Member Avatar for Torf

File, new project, Java+Java application, Project name just a random name, finish. Then.. new file, Java+Java class, Class name payroll, finish.. [code] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package javaapplication5; /** * * @author computer public class …

Software Development java
Member Avatar for JamesCherrill
0
967
Member Avatar for bettybarnes

Unable to cast object of type 'System.Byte[]' to type 'System.Drawing.Image'. hi i got this error message [CODE] Private Sub DataGridView1_RowHeaderMouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles DataGridView1.RowHeaderMouseDoubleClick 'DataGridView1.DataSource = bs Dim i As Integer i = DataGridView1.CurrentRow.Index txtConID.Text = DataGridView1.Item(0, i).Value txtLname.Text = DataGridView1.Item(1, i).Value [COLOR="Red"]PictureBox1.Image = DataGridView1.Item(2, …

Software Development image vb.net
Member Avatar for rmeshack2012
0
1K
Member Avatar for Ich bin würdig

Hi guys ! I've made a program that marks a seat taken X in an airplane .. So, here's what I've done.. it runs , but when i try to input other seat code, i.e., 1G, the no.2 in the grid becomes 88.. and I don't know how did that …

Software Development c
Member Avatar for zeroliken
0
117
Member Avatar for androidf

Hi, I need to create an html page to export some information. Currently, by using java, i've exported information to excel. But now, I need to export the information in HTML page using java.Is there any APIs I can use? Thanks.

Software Development html-css java microsoft-office
Member Avatar for JamesCherrill
0
1K
Member Avatar for tomexlfc

Hello everyone, Please can someone help me to debug this error? It has been giving me a huge headache since last night. Anytime I try to add new record into my database, this error message keeps coming up: "Error: INSERT INTO Customer(Cust_ID, Name, Address, Username, Password) VALUE(?,?,?,?,?,?)". I don't know …

Software Development vb.net
Member Avatar for artemix22
0
526
Member Avatar for chazzkat

Hi everybody! I am pretty close to finishing this program. It is supposed to calculate a person's energy use based on their past and current bill. I am stuck on the calculations and else/if statements. Thanks in advance for any feedback. [code]package craft_week4; //Import scanner library import java.util.Scanner; //Begin Class …

Software Development java
Member Avatar for peter_budo
0
113
Member Avatar for ozzcar

Private Sub btnCheckIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCheckIn.Click DatabaseConnection.ConnString() Try Dim litems As ListViewItem = New ListViewItem() DatabaseConnection.ConnString() DatabaseConnection.DataOpen() DatabaseConnection.Add("INSERT INTO CheckIn(CheckInDate, Deposit, Staying, CheckOutDate, Amount, Balance, Roomnum) VALUES('" & txtCheckIn.Text & "','" & txtDeposit.Text & "', '" & txtStaying.Text & "', '" & DTCheckOut.Text & …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
182
Member Avatar for sonicx2218

Hey guys..I'm a newbie, so please try to use easy words, as the more complicated stuff may make me bleed out of my ears ;) So I'm trying to make this program where you type in a number using the xxx xxx xxxx style The java program will then compare …

Software Development java
Member Avatar for stultuske
0
158
Member Avatar for bhallarahul

Hello everyone i want to convert pdf file in docx file, which contain table, text as well as image can you tell me any any class or method which help to me to extract in the same way as it pdf file have i m using pdfbox api

Software Development api java pdf
Member Avatar for peter_budo
0
83
Member Avatar for BorisSobad

Making a logbook using editbox for entries that fill a listbox. I have two enter buttons. One would enter line in Red one in Black but I don't know how to change the font color in the listbox. My first pascal program and this is the last step for completion.:( …

Software Development pascal
Member Avatar for pritaeas
0
660

The End.