Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~926 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Rass Saee

[CODE]using System; using System.Collections.Generic; using System.Text; class BaseClass { public virtual void method() { Console.WriteLine("BaseClass method"); } } class SubClass : BaseClass { public override void method() { Console.WriteLine("SubClass method"); } public void someMethod() { Console.WriteLine(); } static void Main(string[] args) { BaseClass var = new SubClass(); var.method(); var.someMethod(); } …

Member Avatar for arunkumars
0
101
Member Avatar for Rass Saee

[CODE]using System; using System.Collections.Generic; using System.Text; class BaseClass { public virtual void method() { Console.WriteLine("BaseClass method"); } } class SubClass : BaseClass { public override void method() { Console.WriteLine("SubClass method"); } public void someMethod() { Console.WriteLine(); } static void Main(string[] args) { BaseClass var = new SubClass(); var.method(); var.someMethod(); } …

Member Avatar for berniefitz
0
118
Member Avatar for Rass Saee

I need to get the current time from Internet using C language. Any help is appreciated, hopefully a source code sample. Thank you in advance.

Member Avatar for naavinm
0
132
Member Avatar for Joey_Brown

Hello So I have a simple structure : [CODE] struct students { char name[30]; unsigned int noofcourses; char course[50]; char status[30]; }arr[50]; //50 students [/CODE] I would like to know is how could I read multiple courses in per student from memory.[CODE]Example: Joey Brown 4 Math$Chem$Phy$Cooking Enrolled m8!! [/CODE] So …

Member Avatar for Adak
0
157
Member Avatar for pooran.c
Member Avatar for prasi_raj

Hi everyone, I am not getting how to enter values to that array. Please some one give me a solution. typedef struct user { int array[10]; }user; void main() { int i; user *tmp; printf("enter array values"); for(i=0;i<10;i++) { scanf("%d",&tmp->array[i]); } for(i=0;i<10;i++) { printf("[%d]\n",tmp->array[i]); } }

Member Avatar for Rass Saee
0
82
Member Avatar for Rass Saee

The following program compiles (using MS Visual Studio 2010) with no errors or warnings and runs without any error, why? Thanks in advance for explanation. [CODE]#include <stdio.h> int f[3] = { 1,2,3 }; int g[4] = { 12,45,55,65 }; int main(int argc, char *argv[]) { printf("%d\n", f[5]); return 0; } …

Member Avatar for asterix15
0
99
Member Avatar for Rass Saee

Does anybody know how member of function can be a pointer to a function. The following example crashes when I call the member that is pointing to a function. [code]#include <stdio.h> #include <stdlib.h> #include <string.h> #include <windows.h> typedef long fooPtr(char *); typedef struct { fooPtr *func; long cnt; } MyStruct; …

Member Avatar for Dave Sinkula
0
121