I have changed
public event System.EventHandler PositionChanged;
to
[field:Browsable(true)]
public event System.EventHandler PositionChanged;
I still don't see the event under the events...
Type: Posts; User: BrandNew
I have changed
public event System.EventHandler PositionChanged;
to
[field:Browsable(true)]
public event System.EventHandler PositionChanged;
I still don't see the event under the events...
This is visual c# so I'm not sure if this thread should go here.
I am attempting to add a custom event to the event section of properties panel for my custom control. The problem is no event is...
Error C1083: Cannot open precompiled header file:'Debug\(What I named the file).pch
I can't compile this due to the error listed. I usually don't use this template for writing so I'm not familiar...
The first solution worked
Thanks
I have visual studio 2010 and when I run a program the command prompt window with the program opens and closes automatically. How can I make the window remain open without running the program from...
Thanks
Thanks everyone
I have been learning C and encountered errors with the compiler that I was using. I expect less issues with compilers for c++ and windows but was wondering which one is good to learn c++ with.
Thanks.
Link isn't working, I'll check it again later and look at my books indentation till then.
I made this program and got it to compile without any errors but it doesn't run as expected. If I enter 2 I will get to see all of the student information for each individual. Once I get back to...
Thanks, this is a tad confusing for me atm and I don't want to spend anymore hours on this exercise. I'll come back to it at a later time.
I am trying to complete this exercise but don't really know how to. I am taking things one step at a time to try and figure it out. I have a lot of compiler errors and have started at the top of...
Thanks
Thanks
ptrMC=&myCars[3];
I guess I was pointing to the address of an address and the amount of elements is irrelevant to the pointer.
I get weird output when I run this program. It seems the printcars function isn't receiving any of the data from the main() function. I have set up a pointer but assume it's not setup properly.
...
Thanks
I was basing my if conditions from the example in the book but that example has a different value of course
#include <stdio.h>
#include <string.h>
void sort (char *,char *,char...
I have tried removing the * already and the sort function doesn't print anything if I do. I tried again and the same result. Not sure how to write out the other part you said in the compiler.
I'm not so familiar with functions and function prototypes. I get compiler errors which is the line where I attempt to pass the strings to a function
Type error in argument 1 to 'sort'; expected...
for(y=0;y<=x;y++){
printf("\nName %d is %s\n",y+1, cName[y]);
thanks
I have been attempting to get this exercise right but don't know how to write the code to get desired results
#include <stdio.h>
int main(void)
{
int x=0;
Thanks
I've changed the code a tad,
for(x=0;x<5;x++){
printf("Enter name %d:", x+1);
scanf("%s", cName[x]);
}
If I press space then enter a last name the last name is counted towards a...
I am trying to complete an exercise and am unable to proceed to the next string after pressing enter. I have no warning in the compiler so am unsure of what's causing the issue.
#include...
Thanks
#include <stdio.h>
int main(void)
{
int iNumbers[10];
int iEntry=0;
int x=0;
Thanks