132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jeffrey blanz
Member Avatar for debasisdas
0
65
Member Avatar for mangal123

hi i am creating a lab attendance mgmt s/w in C# and i want to do when the computer start then the login page of my s/w is be open ..... so please tell me the process and if any one have code then please give me the direction to …

Software Development microsoft
Member Avatar for Seten
0
123
Member Avatar for Karthik J

Hi all, Does anyone know how to convert raster images(bmp) to vector images using C#?. My task is to convert raster images(bmp) to list of vectors using C#. I surfed in the net, got many open source tools which does the job, but my constraint is not to use any …

Software Development c# image open-source
Member Avatar for VIeditorlover
0
2K
Member Avatar for jonnyboy12

Hello. I am i'm recently taking off in building a game. The problem at the moment, is that i fear i'm programming to much! I wouldn't know this because i'm new to c++, but how much code is too much for a modern processor? In my engines render loop i …

Software Development c c# c++
Member Avatar for sundip
0
301
Member Avatar for Tom_Weston

What i basically want is more than one character to be found. If h and a are in the string then it will print it. But it will only work if there is a single char. [CODE] #include <iostream> #include <stdio.h> #include <string.h> int main () { char str[] = …

Software Development c++
Member Avatar for MonsieurPointer
0
115
Member Avatar for Mideoan

Hello. I'm having some trouble understanding linked lists. I've been working on trying to figure this out all week, reading through the text, looking at examples and I still can't figure it out. This is due for me by midnight tonight, so I'm reaching out as a last ditch effort …

Software Development java linked-list
Member Avatar for JamesCherrill
0
191
Member Avatar for PlUmPaSsChIcKeN

Im a beginner to python and my professor has assigned the following assignment: You buy an international calling card to India. The calling card company has some special offers. a) If you charge your card with $5 or $10, you don’t get anything extra b) For a $25 charge, you …

Software Development python
Member Avatar for PlUmPaSsChIcKeN
0
238
Member Avatar for 8mir

' I want to get some idea about my new project I my project take the text from web site to text box and that the code coming like this exam: #DESCRIPTION ---------- 1 ---------- #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: #DESCRIPTION ---------- 2 ---------- #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: >>>to end ok …

Software Development vb.net
Member Avatar for lolafuertes
0
202
Member Avatar for DmytriE

I am having the hardest time figuring out how to pass a pointer as an argument. All of the examples I have come across are using predefined array sizes while my array is dynamic. The following code is a simple representation of what I am trying to do in a …

Software Development c
Member Avatar for DmytriE
0
122
Member Avatar for violette

hi all! i'm not sure where to post this. i hope i'm posting at the right section. previously i use formula as below; [CODE] Dim total1 As Label = CType(e.Item.FindControl("total1"), Label) total1.Text = e.Item.DataItem("receivable").ToString * 365 / e.Item.DataItem("revenue").ToString[/CODE] note that the 'receivable' and 'revenue' are taken from database(mysql) however,if the …

Software Development vb.net
Member Avatar for violette
0
93
Member Avatar for Sana'a Ala'a

so,i found a voice chat code that i tried to run it,but all i got was a list of "Reciever.java": Error #: 200 : <identifier> expected at line *, column *" this is the code ************************************************************************ Receiver.java ************************************************************************ [CODE] import javax.sound.sampled.*; import java.io.*; import java.net.*; import java.util.*; public class Receiver …

Software Development audio java
Member Avatar for harinath_2007
0
504
Member Avatar for clide890

Hello, I've been having problem with this problem since yesterday and i just recently started C++, so please don't judge. I have very confused to what the question is asking and how the C++ program will look like. Effective January 1st of each year, Gabriela receives a 5% raise on …

Software Development algorithm c c# c++
Member Avatar for WaltP
0
217
Member Avatar for crane476

I am writing a program that should allow the user to enter however many payroll amounts they want for 3 different stores. It should then display the total payroll for the three stores. The first time through the loop is fine but the second time through, even though it appears …

Software Development c++
Member Avatar for crane476
0
111
Member Avatar for techyworld

Anyone can tell me how to do this question: A program that creates an array of 5 student names and an array of 5 student Ids. You can choose to input the values or directly assign them. The program should then create two threads. The first created thread executes a …

Software Development c
Member Avatar for techyworld
0
121
Member Avatar for peste19

[CODE] for elem in sentence: .setdefault(elem, 0) repeat[elem] += 1 print sorted([ (freq,elem) for elem, freq in repeat.items()],reverse=True)[:3] print repeat [/CODE] i have this loop which analyses the elements in the loop and then prints by frequency, i wanted to print by frequency and alphabetically. example [(5,apple),(5,orange)]

Software Development apple python
Member Avatar for woooee
0
1K
Member Avatar for HackRabbyt

Hello, I was wondering if I could get a little guidance regarding an error I keep running into on this assignment. I'm not necessarily looking for any answers as I'd like to complete as much of the assignment myself as possible. However, I've been beating my head against a brick …

Software Development c c# c++
Member Avatar for HackRabbyt
0
117
Member Avatar for linux

I have to rewrite the atoi function - that is, convert a string given by a command line argument and convert it to an integer. It works for single digit numbers, but when you give it two or more digits, it only converts the first number. I'm not sure what …

Software Development c
Member Avatar for linux
0
303
Member Avatar for George_91

My first thought was [CODE] int size = 0; cout << "Enter size of the array" << endl; cin >> size; int a[size]; [/CODE] Now I know that an array has to have a constant value, but I need that the user enters an integer and use that integer as …

Software Development c++
Member Avatar for gerard4143
0
160
Member Avatar for glut

Hey, I need to make a function that returns an array. How would I do so? And how would I make a variable that gets all the values in that function? Thanks, you guys :)

Software Development c c# c++
Member Avatar for sergent
0
277
Member Avatar for markdean.expres

Guys I just want to inquire if it's possible to create a program that can lock not only the application but the whole system(PC)? What I want is that, if my application wasn't used within a specified time frame, it will automatically o\lock the whole computer and it can only …

Software Development vb.net
Member Avatar for NetJunkie
0
129
Member Avatar for AndyPants

hello I'm NOT new to vb.net but i have never used a UserControl in the following manner: In need to make a UserControll that can be put in a list of them depending on how many the user chooses and then if there are more than 4 to have a …

Software Development vb.net
Member Avatar for AndyPants
0
191
Member Avatar for johmolan

I have made a crystal report with subreports, In my subreports I have added commands like: SELECT * FROM Orders where orederID = {?orderID} When I run the report in viewer the report prompts for the orderID with a dialogbox. But I have several subreports that requires the same orderID …

Software Development vb.net
Member Avatar for johmolan
0
92
Member Avatar for AndyPants

Hello, i was wondering how would i make a search kind of thing, for example if string1 contains all the words in string2 words. like a search(not just if string1 contains string 2). it should work something like this: If string1 is "an apple" and if string2 is "djsjfsfg apple …

Software Development apple seo vb.net
Member Avatar for AndyPants
0
476
Member Avatar for George_91

I've this quicksort code, and it compiles. The thing is, I don't know how to give random values (integers) to the vector. The program should ask for the vector's size and then create the x random integers so it can apply the quiksort method. [CODE]#include "stdafx.h" #include <iostream> #include <vector> …

Software Development c++ programming-construct
Member Avatar for George_91
0
2K
Member Avatar for digipak

Hello, I have a class Pdisk [CODE] class Pdisk { public : Pdisk(string diskname, int numberofblocks, int blocksize); private : string diskname; int numberofblocks; int blocksize; }; [/CODE] Now I want to make a class filesys which can access an object of class Pdisk. I am not sure how to …

Software Development c++ oop
Member Avatar for StuXYZ
0
507
Member Avatar for Slyvr

I made a basic JUnit test to set up this oracle database on my computer with hibernate. The database works and everything, but trying to hook it up to Hibernate is proving to be a challenge. My config file is below: [code] <hibernate-configuration> <session-factory> <!-- Database Connection Properties --> <property …

Software Development java oracle session
Member Avatar for Slyvr
0
1K
Member Avatar for TheChosen0ne

Hey guys, I need some help. I'm using Microsoft Visual C++ 2010. I've heard about being able to write html in c++ I found a few tutorials but I can't understand them they're not very noob friendly. :( Can some of you guys give me a few codes so I …

Software Development c++ html-css
Member Avatar for Moschops
0
143
Member Avatar for techyworld

Where can i get some basic tutorial on thread?

Software Development c
Member Avatar for techyworld
0
85
Member Avatar for techyworld

am having these errors: /home/Desktop/L5Q1.c: In function ‘main’: /home/Desktop/L5Q1.c:15:9: warning: incompatible implicit declaration of built-in function ‘printf’ /home/Desktop/L5Q1.c: In function ‘funct1’: /home/Desktop/L5Q1.c:26:9: warning: incompatible implicit declaration of built-in function ‘printf’ [CODE]#include <pthread.h> void * funct1(void * arg); main() { pthread_t threadid; int i,j; int x=1; pthread_create(&threadid,NULL,funct1,(void *)&x); for (j=0; j …

Software Development c
Member Avatar for Mouche
0
167
Member Avatar for jimbakl

hello everyone... i ve got this txt file and i want to scan it and insert the 2nd row digits at profit[ncustomer] matrix, where ncustomer is the 1st digit which readed from file. After that i want to add all the other digits in a 2 dimensional matrix dis[ncustomer][ncustomer] ... …

Software Development c
Member Avatar for Mouche
0
167
Member Avatar for techyworld
Member Avatar for Mouche
0
169
Member Avatar for java.util

Hello, I have this little piece of code [CODE]System.out.println("Write a sentence: "); String sentence = tastatur.next(); String[] temp; String divider = " "; temp = sentence.split(divider);[/CODE] The problem is that when I enter a sentence only the first word gets stored in the string. For instance if I enter "dum …

Software Development java
Member Avatar for java.util
0
146
Member Avatar for Syrne

Hi guys, So for my next assignment I am required to, at some point, create a function that searches through an array of objects and sets a boolean value in a corresponding boolean array at the same position as the object in the object array, if that makes any sense. …

Software Development java
Member Avatar for ~s.o.s~
0
152
Member Avatar for cypherscouter13

I keep getting these error messages: "error LNK2019: unresolved external symbol "void __cdecl MainPhase(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > *)" (?MainPhase@@YAXPAV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@Z) referenced in function _main" "error LNK2019: unresolved external symbol "void __cdecl DrawForKaiba(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > …

Software Development c++ windows-virus
Member Avatar for sfuo
0
267
Member Avatar for techyworld

am having these error: /home/Desktop/L3Q3.c: In function ‘inputStudent’: /home/Desktop/L3Q3.c:23:2: warning: format ‘%d’ expects type ‘int *’, but argument 2 has type ‘int’ /home/Desktop/L3Q3.c: At top level: /home/Desktop/L3Q3.c:27:27: error: expected ‘)’ before ‘std’ Help please? [CODE]#include<stdio.h> typedef struct student { char surname[20]; char oname[20]; char address[20]; int age; }stud; void inputStudent(stud …

Software Development c
Member Avatar for techyworld
0
118
Member Avatar for ucdbrummy

I'm new to this site and am desperate for help. I'm learning C++ for university, and have just received my second project. it goes like this: Write a program in which: A random integer between 0 and 500 is generated at the beginning. The user is asked to guess the …

Software Development c++
Member Avatar for ucdbrummy
0
76
Member Avatar for xenan

hi can someone helped me in my triangle ><? my prof told me to make a program that ask the user to input the height of the triangle and the user must be able to input the height.. and the triangle must be a triangle not a right triangle.. this …

Software Development c++
Member Avatar for gerard4143
0
140
Member Avatar for XmaarX

Im making an very simple Blackjack game and i need to add values to my cards. and being an beginner is not really helping me =). Any ideas?!? this i what i got so far(for the deck of cards). using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication10 { …

Software Development
Member Avatar for XmaarX
0
152
Member Avatar for bradz1993

[CODE]Public Class Form1 Private Sub Button1cmdRun_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1cmdRun.Click ' Variable declaration & initilization Dim hour As Integer Dim minute As Integer Dim second As Integer ' Validation If IsNumeric(txbTotal.Text) And txbTotal.Text Then >= 0 Then ' Total number of seconds Dim totalSeconds As …

Software Development vb.net
Member Avatar for Unhnd_Exception
0
186
Member Avatar for DriftingFable

Hello Daniweb, I am a student in my CSC 194 using Visual C++ 2008. I am designing a program according to these standards. Most of my knowledge is strictly textbook information so bare with me. [QUOTE]Imagine you are developing a software package that requires users to enter their own passwords. …

Software Development c++
Member Avatar for DriftingFable
0
478
Member Avatar for techyworld

Can someone help me with these lines of codes?it gives me this error: /home/Desktop/L3Q2.c: In function ‘main’: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘char (*)[20]’ /home/Desktop/L3Q2.c:19:2: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘char (*)[20]’ /home/Desktop/L3Q2.c:22:2: warning: format ‘%s’ …

Software Development c
Member Avatar for techyworld
0
205
Member Avatar for gd740

Hi, i am still a beginner in vb.net, please help me.. My question here is when i input data to a textbox1 and then i press enter using keyboard, then another description will appear in textbox2. For example, i have to key in a company's code: A001 into textbox1, after …

Software Development vb.net
Member Avatar for Mitja Bonca
0
166
Member Avatar for sullivan757

I'm trying to figure out how to produce the following code: • Add person • Print all people (alphabetically by name) • Print all people of a designated type (faculty, staff, students) • Print a faculty member and the students who are studying the program taught by the faculty member …

Software Development java
Member Avatar for sullivan757
0
3K
Member Avatar for caswimmer2011

Hey, Is there a way to play a system beep on mac os x in Java? I usually use the beep function in Toolkit class for my PC but I tried the beep function in Toolkit but it doesn't work on my mac. Any help? Thanks in advance!

Software Development java operating-system os-x
Member Avatar for harinath_2007
0
281
Member Avatar for matt_570

Hey I have this tough assignment that just keeps on getting harder and harder. I have 3 more functions to complete. Function1: I have to print the positions of the three consecutive values that have the largest average. If more than 3 consecutive values have the same average, print the …

Software Development c++
Member Avatar for pratik_ghulaxe
0
1K
Member Avatar for zack_falcon

I'm working on a C# project that requires a lot of buttons, but most of the buttons do mostly the same thing, with simple variations on the number to be passed. Here's what I've done so far: [CODE]public void setPieceOne(int x) { if (pressStartFlag == 0) { pressStartFlag = 1; …

Software Development
Member Avatar for zack_falcon
0
145
Member Avatar for vlaskiz

As you may guess I'm pretty new to c++. I'm asked to write a program which would read and out put data files. Now im halfway through (that's why I'll ask you not to mind lots of what is on current code) but I'm stuck on this certain error for …

Software Development c++ visual-studio
Member Avatar for vlaskiz
0
298
Member Avatar for Java2011

Hey i have a assignment in which i have a digital billboard its almost complete but i just have 1 line that is stopping my program from doing what its suppose to do. Im suppose to have a program that can display block letters when the user enters a word …

Software Development java
Member Avatar for Java2011
0
147
Member Avatar for daNiUB

Hello, I was wondering if anybody can help me write data fields for an instrument(Guitar) and the number of strings it has (6) and an array of string names representing string names (E,A,D,G,B,E). I have my code done for tuning and playing not sure how to do the other part: …

Software Development java
Member Avatar for ceyezumma
0
124
Member Avatar for kulpreet lkaur

hii i've java 1.6.0_11......n window 7...whnevr i try to save file in java\jdk1.6.0_11\bin then it gives a msg i.e you don't have permission to save in this location.contact to administrator to obtain the permision.... so um nt coming to kwon how to take permision from administrator and save my file... …

Software Development java
Member Avatar for kulpreet lkaur
0
143

The End.