132,728 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for David_16

Hello, my name is David, and I want to create a program that will take an audio file, generate the WMP visualizations, apply some modifications, and save it to an AVI file. How can I do that? Thanks in advance (-:

Software Development audio c c++
Member Avatar for David_16
0
264
Member Avatar for hackoman96

does data representation help in making prrograms from c++

Software Development c c# c++
Member Avatar for hackoman96
0
121
Member Avatar for efe.ozyer

How can i disable or hide mfc application taskbar icon? seems like "ShowInTaskBar = false";

Software Development c++
Member Avatar for RonalBertogi
0
3K
Member Avatar for abra_ka_dabra

Just curious to know if we can download youtube videos using downloader using HTTpClient? import java.io.*; import java.net.*; public class trial { public static void main(String[] args){ setAndAuthenticateProxy(); try { URL url = new URL("http://www.youtube.com/watch?v=tQC7rO8cjLs"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); InputStream in = connection.getInputStream(); FileOutputStream out = new FileOutputStream("C://Temp/fo.flv"); …

Software Development java
Member Avatar for pbj.codez
0
208
Member Avatar for nitin1

code 1: void fun(const int **); int main() { int **p; fun(p); } code 2: void fun(const int **); int main() { const int **p; fun(p); } code 1 is compile error and 2 is not. can you explain why ? as per my knowledge, we can convert a non-const …

Software Development c
Member Avatar for nitin1
0
158
Member Avatar for Banfa

Given this header // header.h #include <string> namespace company { namespace module { class ProjectConstants { public: static const int CONSTANT1; static const std::string CONSTANT2; }; } } and this source file // header.cpp #include "header.h" using company::module::ProjectConstants; const int ProjectConstants::CONSTANT1 = 10; const std::string ProjectConstants::CONSTANT2("Hello World"); Are ProjectConstants::CONSTANT1 and …

Software Development c++
Member Avatar for mike_2000_17
0
232
Member Avatar for Danja

Hello, I am trying to use my .NET 4.5 program to, among other things, launch a Cygwin process and read its log file. The code is pretty simple: string cygwin_exe_path = "C:\\(path)\\teLeap.exe"; ProcessStartInfo cyg = new ProcessStartInfo(); cyg.FileName = cygwin_exe_path; var tleap_proc = Process.Start(cyg); tleap_proc.WaitForExit(); When I build the program …

Software Development visual-studio
Member Avatar for Danja
0
401
Member Avatar for atulnain007

# Hello Daniweb Users, # I am a highschool student and is corrently doing a project in **C++**. My project is a simple bank management system. I want my program to generate random account numbers for new users. But in a single run i am able to generat only 1 …

Software Development c++
Member Avatar for rubberman
0
187
Member Avatar for Abhinisha

what are nested classes? and flush program and poker program .. using a suitable program ..kindly tell me??

Software Development c++
Member Avatar for rubberman
0
149
Member Avatar for daino

I'm just wondering what everyone thinks about building from the command line. I've been using Code::blocks with a MinGW compiler but there always seems to be a myriad of problems in building projects. I'm starting to become a little fed up with it's querks though it is probably partially my …

Software Development c++ ide
Member Avatar for rubberman
0
258
Member Avatar for NaikTharki

Hello Everybody Its has been a very long time since I started some programming project for my own curiosity. And now that curiosity has reached a level of desparation. I want to make a talking program. You know like Text-to-Speech. I searched google, but all I found was theory. I …

Software Development java
Member Avatar for JamesCherrill
0
277
Member Avatar for ross.clare.5

You are interested in keeping track of the team members and competition infor- mation for your school’s annual entries in computer science programming com- petitions. Each team consists of exactly four team members. Every year your team competes in two competitions. As an initial start for your database, create a …

Software Development data-science java
Member Avatar for jwenting
0
1K
Member Avatar for Skate Bart

I have a MSHFlexGrid that gets all records via a recordset from a database. I want to add a search function so that it would search for the data entered by the user on to the search textbox. But it should search for the data only in a certain column …

Software Development seo visual-basic
Member Avatar for jamunadevi.v
0
1K
Member Avatar for srinivas.rambha

import serial import threading import Queue import Tkinter as tk class SerialThread(threading.Thread): def __init__(self, queue): threading.Thread.__init__(self) self.queue = queue def run(self): s = serial.Serial('COM10',9600) while True: if s.inWaiting(): text = s.readline(s.inWaiting()) self.queue.put(text) class App(tk.Tk): def __init__(self): tk.Tk.__init__(self) self.geometry("1360x750") frameLabel = tk.Frame(self, padx=40, pady =40) self.text = tk.Text(frameLabel, wrap='word', font='TimesNewRoman 37', …

Software Development display python queue tkinter
Member Avatar for m_ishwar
0
1K
Member Avatar for m_ishwar

Hey guys is there a funtion in python that enables to output values to a bin files? Just like storing strings in .txt files, can we store hexadecimal values directly into .bin files? I am working using Python 2.7.3

Software Development assembly file-system python
Member Avatar for m_ishwar
0
316
Member Avatar for th3k1d

I am currently learning c++ on my Mac started with eclipse and playing with Qt some recently. I am wanting to switch over to Linux. I was wondering what is the recommend Linux destro that c++ programmers are using. I will need to do some GUI programming. So I guess …

Software Development c c# c++ gui qt
Member Avatar for mike_2000_17
0
244
Member Avatar for zurehman

Hi sir i m new in vb.net . i want to add product record , in text box i enter packing 25's but 25's not add in table , when i change it 25s it saved. but my requirement is to save 25's. what i do thanks zia

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
128
Member Avatar for PratikM

Sup guys, Its been a while since I've been on this but I have a question regarding If statements and strings. I am trying to create a program and I need the user input (yes/no) so i am using strings for that. The problem that I'm having is that whenever …

Software Development java
Member Avatar for JeffGrigg
0
130
Member Avatar for soche123

Printing the maximum numbers after user's input using Array? guys I'm struggling with this program. here's what I wrote but it's not working.. #include <iostream> #include <conio.h> using namespace std; int main() { int maxArray[10]; int maxValue=0; for(int j=0; j<4; j++) { cout<<"Enter a number: "; cin>>maxArray[j]; if(maxArray[j]>maxValue) { maxValue=maxArray[j]; …

Software Development c
Member Avatar for rubberman
0
232
Member Avatar for piczim

I have done a VERY simple currency converter which runs in the command prompt. is it possible to some how get this to work as a windows program. I would like to be able to save it and send it to my friends. I would also like to be able …

Software Development c c# c++
Member Avatar for rubberman
0
186
Member Avatar for IsaacMessi10

Hey guys so how can I actually make a Tab Control using [this](https://docs.google.com/file/d/0Bx-ETTSBtAAfUFM0R2tBUDFpQUE/edit?usp=sharing) image as an active tab and [this](https://docs.google.com/file/d/0Bx-ETTSBtAAfRElBUnkyWkphMkk/edit?usp=sharing) one as an inactive tab. I've already read something about Drawing Tabs but I didn't quite understand it. Thanks.

Software Development vb.net
Member Avatar for IsaacMessi10
0
476
Member Avatar for VikashS_

Greetings everyone, I am just starting out with C and I am stuck with a question in my book. It says the following: x=1; y=1; if(n>0) x=x+1; y=y-1; printf("%d%d"x,y); What will be the values of x and y if n assumes a value of a) 1 and b) 0. Now …

Software Development c
Member Avatar for VikashS_
0
136
Member Avatar for soche123

how come compiler is displaying this problem even though I've declared the array. #include <iostream> #include <conio.h> using namespace std; void toBinary(long long decimal, int binary_number_array[], int & NumBinaryBits); int main() { long long decimalNumberToConvert[1] ; cout<<"Enter a decimal number"<<endl; cin>>decimalNumberToCovert[1]; int sizeBinaryNumber, binaryNumberArray[100]; toBinary(decimalNumberToConvert, binaryNumberArray, sizeBinaryNumber); //Printing out the …

Software Development c++
Member Avatar for tinstaafl
0
119
Member Avatar for jemartalaban_1

hi, i cant do my codes on how a combo1(i) will do its command when clicked, i have 10 combo box that have index from 1 to 10 on my form, when combo1(1) was clicked, it will do my command to that combo1(1) only not in combo1(2),combo1(3) ... to combo1(10) …

Software Development visual-basic
Member Avatar for rishif2
0
182
Member Avatar for piczim

I would liketo know how to set the number of decimal places in the below code to 2. #include <stdio.h> #include <math.h> #include <string.h> int main() { int a =2; int b =4; int c =6; int d =8; int currencyOption; printf("\n *********************************************"); printf("\n *********************************************"); printf("\n ** Enter the number …

Software Development c
Member Avatar for ddanbe
0
170
Member Avatar for Learner010

i want to call event procedures (button1_click etc.) on certain conditions Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If e.KeyChar = "A" then 'here i don't know how to call button1_click procedure End If here is what i want to do :- whenever any character …

Software Development vb.net
Member Avatar for Luc001
0
370
Member Avatar for zaphoenix

hi, Please can anybody help me with this problem, i am creating an application that outputs to a notepad file on windows 7, i would like to know if there is a python module that i can use to invoke a notepad file(example trial.txt) to output into.THanks

Software Development microsoft python
Member Avatar for pbj.codez
0
242
Member Avatar for SQLpower

Hello, I have a PHP webpage and I want to pass my session to my XBAP app. I created a cookie. $opts = array('http' => array('header'=> 'Cookie: ' . $_SESSION['FILENAME']."\r\n")); $context = stream_context_create($opts); $contents = file_get_contents("http://localhost/WpfBrowserApplicationUltimate.xbap", false, $context); echo $contents; private void btnAbout_Click(object sender, RoutedEventArgs e) { //MessageBox.Show("RichTextPad. © 2014 …

Software Development php session
Member Avatar for Ketsuekiame
0
274
Member Avatar for adil.ghori

Hello ! I have a script, that i m running on visual C++ compiler everything is alright with it, working properly but in the result, I can see on one digit after decimal, not 2, i wanna display two digit i.e 31.02 ; Code is; # include <iostream.h> # include …

Software Development c++
Member Avatar for adil.ghori
0
387
Member Avatar for eldiablo1121

Hello, First of all I want to thank all the help with my posts. I have a program where I have to convert a phrase from lower case to upper case, but I cannot use any of the toupper() isupper() functions and vice versa. I think I almost got it, …

Software Development c++
Member Avatar for eldiablo1121
0
2K
Member Avatar for eldiablo1121

Hello, I have a program assignment that I have no idea what it's asking for honestly. I've tried to read all I can about it, but I do not understand. I tried my hand at some code, but it's only returning the address of course. Here is my attempted code: …

Software Development c++
Member Avatar for eldiablo1121
0
425
Member Avatar for vishalonne

Hello I have 4 problems to solve out of 4 I solved 3 but problem mention below is painfull, I am not able to find how I will interchange the '+' '-' operator. I need some code. I am using Turbo C++ Write a C++ function having two value parameters …

Software Development c++
Member Avatar for Ancient Dragon
0
179
Member Avatar for nitin1

va_arg (ap,int(*)()) here, ap is the va_list type variable and it is started with va_start() already. the place where i have read this said that this is wrong and you have to typedef it first , then you can extract the pointer to a function from the va_arg(). why is …

Software Development c
Member Avatar for nitin1
0
191
Member Avatar for joshl_1995

Hello Community, I'm trying to make a way to post data to my php file located on my website, I tried it on my Windows 8 laptop; it worked fine, then tried it out on my Windows 7 laptop and for some reason it won't work. I have gone through …

Software Development vb.net
0
192
Member Avatar for christine.dunne.963

ok Here is where I am now. I had the code written and it displayed correctly as long as salesPerson1 was the highest earner. I added the additional code if total2 > total1 and so on and now I do not get the calculations just display total commission of 1,2, …

Software Development java
Member Avatar for pbj.codez
0
190
Member Avatar for achava

I have a class cyclotomic{public: int p; int *cyclonumber; ??? createZetas(void} Obviously there is more to the class. For intance when a class is constructed, the cyclonumber pointer is newed into an array of size p-1. Everything is public. The function createZetas is supposed to create and return a newed …

Software Development c++
Member Avatar for achava
0
202
Member Avatar for Pallab.Bhk

Hey I have dictionary like following one dicts = {'met_293': ['81.0175','4','7','7','29.76','23','1','0','22','28.57','2','[KG]EHY'],'met_394': ['79.9579','4','7','7','29.76','18','3','0','15','28.57','2','EHY[ILV]'],'met_309': ['81.0175','4','7','7','29.76','23','1','0','22','28.57','2','[KG]EHY'],'met_387': ['79.9579','4','7','7','29.76','18','3','0','15','28.57','2','EHY[ILV]']} I want to remove keys which have same value like 'met_293' and 'met_309' those two keys have same value at 12th position which is '[KG]EHY' so i want my dictionary like this {'met_293': ['81.0175','4','7','7','29.76','23','1','0','22','28.57','2','[KG]EHY'],'met_394': ['79.9579','4','7','7','29.76','18','3','0','15','28.57','2','EHY[ILV]']} any …

Software Development python
Member Avatar for Pallab.Bhk
0
488
Member Avatar for emanhossnycs

Hello, I want to create java application which can run .cmd file. I already write the code which run .cmd file, but my problem is the following: this .cmd file prompts the user to enter his mail and password & I want my program to give these values to the …

Software Development file-system java
Member Avatar for emanhossnycs
0
300
Member Avatar for Vixion

Hello there, I want to get all checked checkbox on the form. I always wasting my time to checking it one by one. There is a way to do this? Best regards vixion

Software Development visual-basic
Member Avatar for star.tamy.7
0
581
Member Avatar for Benkku

I was trying to calculate the angle between two points using math.atan2(y, x) as was suggested in numerous forums and tutorials. After trying it myself, it didn't quite work as charmingly as it did for others. So I made a simple example of what it does and I need some …

Software Development python
Member Avatar for Gribouillis
0
441
Member Avatar for johnray31

Hi guys, can anybody explain to me with a example why we people emphasize to pass double pointer in a function instead a single pointer when we want to fill some variable inside that function. or what are thge advantage of double pointers in c over single pointer?

Software Development c
Member Avatar for Bharat_1
0
16K
Member Avatar for murali2489

Hi All, I have created a Class named Stock and have declared three Constructor . First constructor with no parameter, second constructor with three parameter, third with Two parameter. When I call my constructor inside a System.out.println(constructor); , it should display the variable Values right ? . but instead it …

Software Development java
Member Avatar for murali2489
0
198
Member Avatar for joma.tioquin

the program should be able to display array (11 22 33 44 55 66 77 88 99 00). then will ask user to input a number that is (only) in the array displayed. then display the new array. sample: input = 44, new array should be 11 22 33 55 …

Software Development java
Member Avatar for joma.tioquin
0
409
Member Avatar for christinetom

Would anyone know where I could get a really extensive coverage of pre-processor directives? There are plenty of websites but the information is limited. Was hoping there was a complete source like a book out there. Thanks everyone.

Software Development c++
Member Avatar for rubberman
0
190
Member Avatar for Eternal Newbie

Is there a way to set a window to the top on screen and set focus on it? I'm having a menu in VB.Net calling a bunch of .exe. Everytime a window apears, it runs itself to the top on screen. But there was a window, problem-able one, with some …

Software Development microsoft vb.net
Member Avatar for Eternal Newbie
0
14K
Member Avatar for Eternal Newbie

Hmm, normally, I just cut all those controls out and delete the GroupBox. But, it's not easy all the time, so me just wondering if there was a way to do it without touching the child controls. Remove the relationship? Or other otions?

Software Development vb.net
Member Avatar for Eternal Newbie
0
3K
Member Avatar for tieties

Ok so im reading int values from an sql database but then the "Executor" comes back as a hex value and it is declared as a int value in sql..all the bit field values i have comes back correctly accept the int values. can someone help me ons this, what …

Software Development sql vb.net
Member Avatar for Eternal Newbie
0
179
Member Avatar for pooh1234qwerty

#include<stdio.h> #define CH char*; int main(){ CH a,b; printf("%d %d\n",sizeof(a),sizeof(b)); return 0; } here the o/p is 4 1. why isnt b also of type char*..??

Software Development c
Member Avatar for JasonHippy
0
178
Member Avatar for nathan.pavlovsky

Hellp programmers! I'm trying to create a program that displays the impact of changing the rate of compound intrest using the historical example of Manhattan's aquisition as an example. The code is below: int main() { double amount=0; //amount on deposit at the end of each year double principal=24.00; //initialize …

Software Development c++
Member Avatar for gusano79
0
369
Member Avatar for modaresi

Right now, this program asks the user to enter the input infile and outfile file names. Then it gives an error if it can't open the file. If it can open infile, it reads the first value and consider that as the array size. After that it continues with other …

Software Development algorithm c++ file-system open-source
Member Avatar for Ancient Dragon
0
419

The End.