8,298 Topics
![]() | |
C++: I'm using Microsoft Visual Studio 2012 and I am not sure what to do about these two errors: 2 IntelliSense: identifier "x" is undefined Error 1 error C2065: 'x' : undeclared identifier Prompt: Make program that reads 20 integers, display that array, and find min, max, sum, and avg. … | |
This is easy! But I admit, it can be rather confusing at first if you also take the old style MenuItem stuff into account. I hope my code is as clear as possible. If not please let me know. To test it, just start a forms application and paste it … | |
Hi guys, ** Im an IT Intern Student here in the Philippines. they gave me a project which is File transferring, copy and delete. I started my OJT/Internship 3 weeks ago. and that entire week, all I have done is the design :( My professors in our university did not … | |
hi all i am looking for free window controls like dev express ,infragistic whith which i can create rich looking application in C# Any body having knowlage please revert Thank you in advance | |
Hey Everyone, I'm doing a little test for a presentation I'm giving on Tuesday. I wanted to show the performance difference between VB2008, C# and C++. To do this, I have three programs. Each program performs the Fibonacci sequence X times, and can either do it iteratively or recursively. As … | |
I am wondering if it is safe to debug a c++ code on my website? If theres an article that talk about that pls. post the link together with your reply. Thank you :) | |
how can i resize a window console buffer? i know that i can use the SetConsoleScreenBufferSize(), but i'm getting problems convert from pixels to characters, because the vertical scrollbar is showed and the size isn't changed correctly, because it's more big than the buffer size: CONSOLE_SCREEN_BUFFER_INFOEX consolesize; consolesize.cbSize=sizeof(consolesize); GetConsoleScreenBufferInfoEx(hConsole,&consolesize); COORD … | |
I'm getting these types of errors: identifier "gm" is undefined or expected a ';' How do I fix these errors? #include <iostream> #include <cstdlib> //srand #include <ctime> //time #include <cmath> #include <string> using namespace std; int G_master; int m_secret; int m_choice; int m_win, m_prev_delta; int Number_guess; int Card_guess; int delta; … | |
Hi All, I am trying to implement generic link list in c++ . But getting below error . Please assist me to correct it. LinkedList.hpp LinkNode<E>* head; errr: unknown tpe name ''LinkNode // LinkNode.hpp // cplus // // Created by Ravi Rathore on 10/12/15. #ifndef LinkNode_hpp #define LinkNode_hpp #include <stdio.h> … | |
Yes I did read these two posts. http://stackoverflow.com/questions/3082914/c-compile-error-variable-sized-object-may-not-be-initialized http://stackoverflow.com/questions/14186879/c-error-variable-sized-object-may-not-be-initialized My case is a bit different because I'm using `char * ptr[buflen]`. This is what I have tried: char *ptr[buflen] = {0}; //This gave me the variable sized object error. char *ptr[buflen]; memset( ptr, 0, buflen*buflen*sizeof(char)); //I figured this would work … | |
Hey there, Over the past few weeks as an excerise I've been trying to create a C# image viewer. At the moment I have one window, with a list of images displayed in a ListBox. When I the F5 button, a second window pops up at fullscreen, and I want … | |
Hi all!! I want to play multiple audio file from a folder, but I only play the first file This is my code : List<string> wavlist = new List<string>(); wavlist.Add(Application.StartupPath + "\\mp3\\1.mp3"); wavlist.Add(Application.StartupPath + "\\mp3\\2.mp3"); wavlist.Add(Application.StartupPath + "\\mp3\\3.mp3"); wavlist.Add(Application.StartupPath + "\\mp3\\4.mp3"); foreach (string file in wavlist) { WMPLib.WindowsMediaPlayer wplayer = … | |
What books would you recommend for data structures and algorithms in C language? It would be good if recommended books are books of solved problems. | |
Hi there, I'm still fairly new to programming. Would someone be able to explain exactly how different windows should be used in MS Visual Studio? It seems that variable sharing between different windows is problematic. So does that mean that if you are trying to do multiple things on one … | |
Write a C++ program to determine a student's grade. It reads three test scores (between 0 and 100) and calculates the average score and converts it to a letter grade. Grade Conversion Rules: rule a. If the average score is 90 or more the grade is 'A'. rule b. If … | |
Hello All, I really want to create a network sniffer. What kind of topics do I need to understand to create a simple one? Thanks | |
In real life, what is the difference between C# and Visual Basic?. I want to make an application to handle data from a database and I was told that C# is much better, I need advice. Thanks in advanced. Waldis Portes | |
I am currently developing a CMS for my firm using .NET Framework ,ASP.Net(C#) & SQL Server Express 2008 ADV. Whenever a user creates an Article i want to genrate a permalink for each article so that navigation is simple instead of using query strings and exposing article id to common … | |
Hello All, Recently, I have been thinking of creating a software that will detect network packets and then develop it as I go along. Can you help me point to the correct detection. As in, if there is any articles you can recommend which I can read? I would appreciate … | |
Hello guys I need your help im really new in C++ and I need to do easter calculation to get the right easter day, at the moment I could get one year. Example: Year 2015 Easter Day in 2015 is/5/4/2015Year but my professor is asking me to get year range … | |
hi guys, how do i create a simple server that ships alongside my windows app during installation which will be used as local server to host web pages that ships along with the Windows app. | |
if i want to read some integer what command i must use how to do i read and save value in multi dimensional array?? urgently needed:-| | |
// Program to show swap of two no’s without using third variable #include<stdio.h> #include<conio.h> void main() { int a, b; printf("\nEnter value for num1 & num2 : "); scanf("%d %d", &a, &b); a=a+b-(a=b); //Swaping printf("\nAfter swapping value of a : %d", a); printf("\nAfter swapping value of b : %d", b); … | |
One of the most, if not THE most, beautiful formulas in math, is from Euler:  It combines in it a relation between the number **e**, the number **Pi** and the complex number **i**, plus the basic math symbols 1, +, = and zero. Is that not amazing? More … | |
Hi all, i need help to build up a cellular automata program. So, there is 4 state of cells, 0 = space, 1 = ".", 2 = "+", 3 = "#" This state is continuous from 0 - 3, after 3, it will be back to 0. For example, an … | |
problem#1 Create a program that will count from 1 to n, wherein n is a user-input number. problem#2 Create a menu and combine previously-created programs into one im a newbie programmer i need help in using looping constructs... any suggestions??? | |
I need a Sample of of calulating the Average of "C Program=50,HTML=50 and others THREE examples" (NOTE;USING CODE BLOCKS COMPLIER WILL BE DEEPLY APPRECIATED) | |
Hello to all programmers out there. Considering the growing request for practice problems by the beginners, we ( Me, Joey, Niek, Aaron..) have decided to start a sticky which will host some common practice problems which would help the beginners in understanding the programming concepts in a better way. (Did … | |
Hi all. I have a need to use native/C++ code in C# application. I basically want the lower level functionality of C++ with a good looking C# GUI. Calling native functions from C# via Dllimport is not what I want to do. The native code will need to be running … | |
can u plz tel me how to retrive only date from DateTime in C#. ex: 06/03/2008 12:00:00 i need only date 06/03/2008 in my application. | |
![]() | So I currently have a bot in mIRC, but I want to develop a bot in C#. I am trying to figure out how to parse JSON in C#. My goal is to get recent followers and check for followers(this is where json comes in) and add a points system. … |
Hello my friends, I'm re-thinking my project and I'd like some opnions... Goal: An WebServer/Stream Server easially deployed in any Windows or Linux(Using Mono), with no dependecy on previous installed software(except for Mono). The basic app usage: The user will be able to select multiple folders(with music, videos and photos) … | |
Having trouble. Don't really know where to start. I need to use a helper class to populate a stack in C#. The helper class needs to have a few dozen items used to populate the stack. Then, I need to use a timer to kick off a second process that … | |
I dont know how to connect C# to MySQL can someone help me? | |
Hey im pretty new to C# and im just learning it and i want to make a game, more of a test but i dont know how i would make it. so there is going to be yes or no question and multiple answers and i wouldent know were to … | |
![]() | For my angular controller I have: app.controller('AdminCtrl', function ($scope, $http) { $scope.data = { Name: '', Password: '' }, $scope.login = function (data) { $http({ method: 'POST', url: '/login/postlogin', data: JSON.stringify({ data: $scope.data }), contentType: "application/json", dataType: "json" }).success(function (data) { alert('success!'); }).error(function (error) { alert(error.message); }) } }); For … ![]() |
Hi All, When i excute this code at return people i get PeopleViewer.Person instead of there names.Can anyone tell me what i am doing wrong. Thanks for the help. namespace PeopleViewer { class PeopleRepository { public Person[] GetPeople() { var people = new Person[] { new Person() {FirstName="JOhn",LastName="Sheridan",StartDate = DateTime.Parse("2/7/12"),Rating=2}, … | |
just a question what are the advantages that C# as a general purpose programing language has over other web development programming languages such as HTML 5 CSS and so on | |
I have simple query. Suppose if I am working on a project which contains one form (frmStudent) which is linked to table tblStudent. Suppose if I release this this application. And after some time I created a new form in my project (frmTeacher) And again for this form I have … | |
I have a real time signal (which the result of a function of mine over time). I want to calculate when the signal overcome a threshold when in ascending order and when it goes down the threshold in descending order. My matlab function to do so is the following: X … | |
write a c++ program to compute compound interest. the program should be structured as follows A function to compute interest and another function to compute amount **Bold Text Here** | |
hi i'm trying to build an app that allow to login to instagram using c# when i run my application and logged in , i need to be redirected to fixed page without any reaction from me here's my code : private void button1_Click(object sender, EventArgs e) { HtmlDocument doc … | |
C program to remove even numbers and fill it with zero Input array 1,2,3,4,5,6 Output 1,3,5,0,0,0 #include<stdio.h> void main() int i,j,k,n=6,a[]={1,2,3,4,5,6}; clrscr(); for(i=0;i<n;i++) { if(a[i]%2==0) { a[i]=-1; } else printf("%d",a[i]); } for(i=0;i<n;i++) { if(a[i]==-1) printf("0"); } getch(); } | |
With regard to C++ books, I'll just echo the advice here .The following books are recommended; read them in mostly the order listed." Accelerated C++ " Andrew Koenig & Barbara Moo " The C++ Standard Library " Nicolai Josuttis --- a "must have" " Effective C++ ", " More Effective … | |
Hi is possible to cast List of objects to List of string array? |
The End.