15,743,710 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Javascript questions
View C++ questions
View Python questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 14769677 (Top 28 by date)
Member 14769677
15-Oct-22 11:45am
View
Yes but i also want to say click a letter and move the cursor there. But i have no idea how to do this.
Member 14769677
28-Jul-22 11:24am
View
I though the 7 was wierd, i assumed it had something with indexing to do as it starts at 0 haha
Member 14769677
25-Apr-22 7:09am
View
I know that's how it's supposed to work. But it doesn't xD
Member 14769677
20-Apr-22 7:00am
View
windows
Member 14769677
10-Dec-21 4:26am
View
Okay well this is extremely wierd, i did it by not doing an input and just doing inp1 = "[PATH]" and now it works. I really need to input tho.
Member 14769677
10-Dec-21 4:22am
View
No i have Windows 11, i like to be an early adopter of new technology.
Member 14769677
9-Dec-21 19:40pm
View
It is, i literally right-clicked the file and pressed "Copy as path"
Member 14769677
9-Dec-21 17:31pm
View
I have updated the question with the new code.
Member 14769677
9-Dec-21 12:31pm
View
Deleted
So i reinstalled only 1 of them after deleting everything, pip install pdf2docx, added the script path to system PATH, wrote the script and what i wrote above compiled, yay! But then i went ahead and added some inputs into variables inp1 and inp2 for .pdf directory and directory where to create .docx, now it tells me RuntimeError: cannot open "C:/Users/spacemonkey/Downloads/Elon Musk.pdf": Invalid Argument. What even are these problems, omg just work!
Member 14769677
9-Dec-21 12:26pm
View
Okay so new problem, i got it working now but when i actually try to use it, it doesn't go very well. Meaning it doesn't work at all. I have added an input for PDF file and output for directory to save the docx file. Now it gives me the good old 'RuntimeError: cannot open "C:/Users/spacemonkey/Downloads/Elon Musk.pdf": Invalid argument'. What?
Member 14769677
9-Dec-21 11:55am
View
Yeah i looked now in the Software and Programs or whatever the setting menu is called, and i had 3.9.5, 3.9.0, and 3.10 installed. Deleting and reinstalling now.
Member 14769677
9-Dec-21 11:53am
View
Okay thank you.
Member 14769677
9-Dec-21 8:35am
View
I also added the Python/Script folder as suggested in some forum i found, did not work either. Why is software development this unnecessary hard? Makes no sense.
Member 14769677
9-Dec-21 8:28am
View
Yes, it should be working fine. When i type python --version it gives me Python 3.9.9 or whatever the newest version is.
Member 14769677
7-Dec-21 4:30am
View
Oh my god, how could i forget something so simple xD Thank you
Member 14769677
6-Dec-21 6:51am
View
So it kind of works but also not, doesn't give the same error but now it doesn't display anything instead.
Member 14769677
5-Dec-21 18:45pm
View
Like how is String hey = "Hello"; not the EXACT same as doing String b[3]; b[0] = "Hello";??? to me that should literally be like doing String b_0 = "Hello" which would work perfectly. This language is annoying.
Member 14769677
5-Dec-21 18:39pm
View
I fixed it, i had to replace String ret[s] with String* ret = new String[s]; now i just have to worry about memory management. Damn it. Well it doesn't crash but it doesn't seem to actually do the values either, it literally just gives me an array of empty strings back, as when i print them it gives me nothing. But the program works. Why is C++ so unexplainably difficult jesus christ...
Member 14769677
5-Dec-21 13:51pm
View
I have updated the question with more information
Member 14769677
5-Dec-21 11:52am
View
The code is 1200 lines xD But i can give you the operator assignment code.
Member 14769677
4-Dec-21 14:52pm
View
Yeah i'm converting the program to use the string instead of char array as data, and writing a new CStrToCArray function. Why the hell can't I do "const int _siz = str.size()" and "char* arr[_siz];" it nags me about using constant integers, well what the hell? I am. This worked on another C++ program I wrote last week.
Member 14769677
3-Dec-21 8:42am
View
Well i wrote a big class with the idea of using an array. The code is 1200 lines long.
Member 14769677
19-Nov-21 12:07pm
View
Thank you for trying!
Member 14769677
19-Nov-21 7:44am
View
Extern didn't work either, i find this really wierd and confusing xD
Member 14769677
19-Nov-21 7:42am
View
Thank you!
Member 14769677
19-Nov-21 7:42am
View
This is what the terminal says:
C:\Users\carlieboi\AppData\Local\Temp\ccT2hiu4.o:main.cpp:(.text.startup+0x25): undefined reference to 'All(bool*)'
collect2.exe: error: 1d returned 1 exit status
Makefile:2: recipe for target 'default' failed
mingw32-make: *** [default] Error 1
Member 14769677
18-Nov-21 23:13pm
View
I tried making it non-static, but it still won't compile. Same reason. I also tried to do what i would have done in C#, and put a public in front of it, didn't work either. Is this where i am supposed to use the extern keyword? How would i do that if that is the case?
Member 14769677
18-Nov-21 17:00pm
View
Deleted
Thank you, that worked for the constructor, but now i have a function that looks like Add(T item), and obviously has operations and variables inside it, and it doesn't work in the C++ script, do I have to put everything related to GameArray in the header file? I have heard that it's not performant or something bad like that. But in case of performance is it just compile time or will it be slow when the final .exe is generated, because that is the only thing that matters, i don't care about how long it takes to compile.
Show More