nnhamane 0 Newbie Poster

Hi friends, there is a project which contains more than 10 small projects. These projects contains their respective exe's. Each project has some dlls to perform particular operation. Each dll is build by linking with either header1 or header2. My task is to integrate them in one project and make one exe i.e. code integration. I have almost finished it. When I run the project then it is giving error as "Attempted to read or write protected memory. This is often an indication that other memory is corrupt" for those projects whose dlls are linked with header2 and its fine working for those projects whose dlls are linked with header1. I have linked the new project with each and every dll required for operation. No errors while compilation. But it's giving an error while performing operations. Do you have any solution for my problem?

nnhamane 0 Newbie Poster

I am using RDLC and i want to add dynamic text in header as well as in footer and some images in to the header but i cant understand how to add it in same rdlc.
i can add static text in header as well as footer and when i add dynamic text in header it will be displayed in the first page only(after saving report in PDF format) but i cant get same text in next continuing pages
will you help me please as early as possible

nnhamane 0 Newbie Poster

I am using RDLC and i want to add dynamic text in header as well as in footer and some images in to the header but i cant understand how to add it in same rdlc.
i can add static text in header as well as footer and when i add dynamic text in header it will be displayed in the first page only(after saving report in PDF format) but i cant get same text in next continuing pages
will you help me please as early as possible

nnhamane 0 Newbie Poster

Hi frnds, when i compile VC++ project on 32 bit machine then it wont work on 64 bit machine...can we compile the same code so that it will work on 32/64 bit machine?? someone told me abt compiler option..but i dont know abt cmd...if u know something, then plz share ur knowledge...Regards

Nilesh N Hamane

nnhamane 0 Newbie Poster

Can anyone tell me what is the main purpose of Dll? As we can get the data from Dll, can we put the data in Dll? I am not talking about code, talking about single Dll. If you know about Dll then please share your knowledge..

nnhamane 0 Newbie Poster

plz teach me how to create a role playing game using c++ or any programming language?

Creating playable game in C/C++ is very easy, you need only little bit of imagination and information about game. First take any simple game and try it on paper i.e. create your own algo. It's very important to create algo first bcoz it will tell you what next.
For learning purpose check out this site :
http://nnhamane.googlepages.com/

nnhamane 0 Newbie Poster

Is there any inbuilt function in C language by which one can directly access image contents?

nnhamane 0 Newbie Poster

How to add dll in java code?

nnhamane 0 Newbie Poster

Hello friends..Ugly number is a number whose prime factors are only 1,2,3 or 5.
I had written a program for finding n`th ugly number in the series.Now the series is 1,2,3,4,5,6,8,9,10,12,15...these are first 11 ugly no`s.
Now In my program if we put m=11 then output will be 15.
It will work only up to m=239,Onwords it doesn`t work.
plz help me for finding 1500`th ugly number.

[B]/*PROGRAM TO FIND AND PRINT 1500`th UGLY NUMBER*/[/B]
//UGLY NUMBER IS A NUMBER WHOSE PRIME FACTORS ARE 2,3 OR 5
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<ctype.h>

void main()
{
 long int i;
 int j,k,l,p,n,m=240,c,f=0,x[20];
 int flag=1;
 clrscr();
 for(i=1;i<=500000;i++)
 {
 n=i;
 k=0;
 for(j=1;j<=i;j++)
 {
  if(n%j==0)
  {
   k++;
   x[k]=j;
   n=n/j;
   j=1;
   }
   if(x[k]!=1 && x[k]!=2 && x[k]!=3 && x[k]!=5)
   {
    flag=0;
    break;
    }
   }
   if(flag==1)
   {
  c=0;
  for(p=1;p<=k;p++)
  {
   if(x[p]==1 || x[p]==2 || x[p]==3 || x[p]==5)
    c++;
   }
   if(c==k)
   {
    f++;
    if(f==m)
    {
     clrscr();
     printf("\n\nThe 1500`th ugly number is <%ld>.",i);
     getch();
     exit(0);
     }
    }
   }
   flag=1;
  }
  printf("error");
  getch();
 }
nnhamane 0 Newbie Poster

Duh - this is a joke, right? I didn't download the app - it's too easy.

1 2 3 4 5 6 7 8 9
2 3 4 5 6 7 8 9 1
3 4 5 6 7 8 9 1 2
4 5 6 7 8 9 1 2 3
5 6 7 8 9 1 2 3 4
6 7 8 9 1 2 3 4 5
7 8 9 1 2 3 4 5 6
8 9 1 2 3 4 5 6 7
9 1 2 3 4 5 6 7 8

Hi friend u r looking good in SUDOKU.Then plz try to solve my problem...
Here it is..

http://www.daniweb.com/techtalkforums/showthread.php?t=48788&highlight=sudoku

nnhamane 0 Newbie Poster

Hi friends..I had written a program on solving sudoku in 'C'..But it is not running...My logic is correct..I think that problem is in solve or check function..Plz check my program..it will take few minutes..n plz tell me what is wrong in program?? my id: <email nipped>
Thx friends..

/*PROGRAM FOR SOLVING THE SUDOKU USING 'C'*/

#include<stdio.h>
#include<conio.h>
#include<iostream.h>
#include<stdlib.h>

int i,j,k,a[10][10],o,x[100],y[100];

void display();
int getnum();
void solve(int [],int [],int);
int check(int ,int );

void main()
{
 clrscr();
 printf("\n\nEnter the elements of SUDOKU in rowwise.\n[ Enter '0' if element is absent. ]");
 for(i=1;i<=9;i++)
 for(j=1;j<=9;j++)
  scanf("%d",&a[i][j]);
 printf("\n\nEntered SUDOKU\n\n");
 display();
 printf("\nEnter any key for solution....\n");
 getch();
 o=getnum();
 solve(x,y,1);
 }

  int getnum()
  {
   int c=0;
   for(i=1;i<=9;i++)
   {
   for(j=1;j<=9;j++)
   {
    if(a[i][j]==0)
    {
     c++;
     x[c]=i;
     y[c]=j;
     }
    }
   }
   return(c);
  }

  void display()
  {
   for(i=1;i<=9;i++)
   {
    for(j=1;j<=9;j++)
    {
     if(a[i][j]!=0)
      printf("  %d",a[i][j]);
     else
      printf("  ");
     }
     printf("\n\n");
    }
   }


   void solve(int p[100],int q[100],int n)
   {
    for(k=1;k<=9;k++)
    for(i=p[n];i<=p[n];i++)
    for(j=q[n];j<=q[n];j++)
    {
     a[i][j]=k;
     if(n<0)
      solve(p,q,n++);
     int ch=check(1,0);
     if(ch!=0)
     {
      display();
      getch();
      exit(0);
      }
     }
    }
   }

   int check(int n,int r)
   {
    int f=0,cont=0;
    if(r==1)
    {
     for(k=1;k<=9;k++)
     {
      for(i=n;i<=n;i++)
      for(j=1;j<=9;j++)
      {
       if(k==a[i][j])
	f++;
       }
       if(f!=1)
	return(0);
       else
	cont++;
       f=0;
	}
	if(cont!=9)
	 return(0);
	else if(n==9)
	 check(1,0);
	else
	 check(n++,1);
	}
	else
	{
	 for(k=1;k<=9;k++)
	 {
	  for(i=1;i<=9;i++)
	  for(j=n;j<=n;j++)
	  {
	   if(k==a[i][j])
	    f++;
	   }
	   if(f!=1)
	    return(0);
	   else
	    cont++;
                   f=0;
	   }
	   if(cont!=9)
	    return(0);
	   else if(n!=9)
	    check(n++,1);
	    }
	   }
nnhamane 0 Newbie Poster

Can anyone tell me any website name in which i can build free site with html or without html?

nnhamane 0 Newbie Poster

Can anyone tell me what is the procedure to insert PHP in HTML language?And will file extensiton also change?

nnhamane 0 Newbie Poster

Hello there..I am trying to build program on sudoku in 'C'.Can anyone help me or want to take part in my project,If yes then plz send me mail on: email removed by moderator. So anyone interested plz mail me.Thx..

nnhamane 0 Newbie Poster

Hi my friends!
How r u? r u enjoying this site? I cann`t tell abt u but myself enjoying :confused: ... I am 19 years old male.
I am studing in 2nd year of IT engg.I am interested in HTML coding.Also I build my 2-3 personal websites using HTML coding.But I want any free site.If u have any website or u know any site name then plz reply me...
Also I am interested in C programming.I am trying to make programe of INSERTION & DELETION of element in QUEUE.If u have this programe then plz send me.
I am a simple man like u,but I have lot of ambitions abt future.So, till Good by.