| | |
pointer problems
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Dec 2004
Posts: 489
Reputation:
Solved Threads: 5
Hello, the code is quite big so I'm hoping someone can help based on the errors reported:
Any suggestions?
•
•
•
•
D:\Scanner\lexicalScanner.cpp(185) : error C2440: '=' : cannot convert from 'char *' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
D:\Scanner\lexicalScanner.cpp(197) : error C2440: '=' : cannot convert from 'char *' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
D:\Scanner\lexicalScanner.cpp(239) : error C2440: '=' : cannot convert from 'char *' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
D:\Scanner\lexicalScanner.cpp(244) : error C2440: '=' : cannot convert from 'char *' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
D:\Scanner\lexicalScanner.cpp(247) : error C2440: '=' : cannot convert from 'char *' to 'char'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
parser.cpp
![]() |
Similar Threads
- total newb - "passing arg 2 of `strcpy' makes pointer from integer without a cast" (C++)
- Problems with Linked Lists in C (C)
- Having trouble trying to use a global structure (C)
- please review HJT for major problems (Viruses, Spyware and other Nasties)
- fread problem? (C)
- compiling problems (C++)
Other Threads in the C Forum
- Previous Thread: converting a char array to a single char
- Next Thread: Newmember with big problem!!!
Views: 1111 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for C
adobe ansi api array arrays asterisks binarysearch calculate centimeter char command convert copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax directory dynamic executable fflush file fork forloop frequency getlasterror givemetehcodez graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators infiniteloop kernel km lazy linked linkedlist linux linuxsegmentationfault list lists locate logical_drives match matrix microsoft motherboard multi mysql number open opendocumentformat opensource owf pattern pdf performance pointer pointers posix problem probleminc program programming radix recursion recv repetition research scanf scheduling scripting segmentationfault send sequential shape socketprograming spoonfeeding stack standard string strings structures student systemcall testautomation turboc unix user variable voidmain() wab win32 windows.h






